1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 12:26: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'
services:
app:
www:
restart: always
build:
context: .
dockerfile: docker/app/Dockerfile
dockerfile: docker/www/Dockerfile
ports:
- ${EXPOSE}:80
volumes:

View file

@ -6,7 +6,7 @@ COPY . .
RUN yarn build
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/*
COPY --from=builder /dist /usr/share/nginx/html
EXPOSE ${EXPOSE} 80