This commit is contained in:
Alexander Detsch 2021-04-04 20:25:23 +02:00
parent 0f9a289c4b
commit 80ea692943
2 changed files with 47 additions and 0 deletions

View file

@ -7,6 +7,7 @@ RUN npm run build
# production stage
FROM nginx:stable-alpine as production-stage
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]