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

View file

@ -1,10 +1,10 @@
version: '3' version: '3'
services: services:
app: www:
restart: always restart: always
build: build:
context: . context: .
dockerfile: docker/app/Dockerfile dockerfile: docker/www/Dockerfile
ports: ports:
- ${EXPOSE}:80 - ${EXPOSE}:80
volumes: volumes:

View file

@ -6,7 +6,7 @@ COPY . .
RUN yarn build RUN yarn build
FROM nginx:alpine FROM nginx:alpine
COPY docker/app/nginx.conf /etc/nginx/nginx.conf COPY docker/www/nginx.conf /etc/nginx/nginx.conf
RUN rm -rf /usr/share/nginx/html/* RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /dist /usr/share/nginx/html COPY --from=builder /dist /usr/share/nginx/html
EXPOSE ${EXPOSE} 80 EXPOSE ${EXPOSE} 80