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

renamed app to www

This commit is contained in:
Fedor Katurov 2020-11-16 15:48:51 +07:00
parent 3d79ea3f49
commit 8450856d45
3 changed files with 3 additions and 3 deletions

13
docker/www/Dockerfile Normal file
View file

@ -0,0 +1,13 @@
# stage1 as builder
FROM node:10.13 as builder
COPY package.json yarn.lock ./
RUN yarn
COPY . .
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
EXPOSE ${EXPOSE} 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]