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:
parent
8c9cbabd2f
commit
340ba47d40
2 changed files with 22 additions and 22 deletions
|
@ -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;"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue