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:
parent
3d79ea3f49
commit
8450856d45
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue