Something went wrong on our end
-
Erwan Rouchet authoredErwan Rouchet authored
Dockerfile 293 B
# First stage builds the frontend
FROM node:12-alpine as build
WORKDIR /src
COPY . /src
RUN npm install --no-progress
RUN npm run production
# Second stage just expose the built file
FROM nginx:alpine
EXPOSE 80
COPY --from=build /src/dist /usr/share/nginx/html
CMD nginx -g 'daemon off;'