dagger-rs/crates/dagger-sdk/examples/existing-dockerfile/app/Dockerfile

16 lines
187 B
Docker
Raw Normal View History

2023-02-17 17:50:45 +01:00
FROM node:16 as builder
COPY . /src
WORKDIR /src
RUN npm install
RUN npm test -- --watchAll=false
RUN npm run build
FROM nginx
COPY --from=builder /src/build /usr/share/nginx/html