1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed Dockerfile to use build instead of dist

This commit is contained in:
Fedor Katurov 2020-11-19 17:38:38 +07:00
parent 8c9cbabd2f
commit 340ba47d40
2 changed files with 22 additions and 22 deletions

View file

@ -8,6 +8,6 @@ RUN yarn build
FROM nginx:alpine
COPY docker/www/nginx.conf /etc/nginx/nginx.conf
RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /dist /usr/share/nginx/html
COPY --from=builder /build /usr/share/nginx/html
EXPOSE ${EXPOSE} 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]