correct config
This commit is contained in:
parent
eeb9025210
commit
9175004893
@ -23,12 +23,13 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
client:
|
||||
image: nginx:alpine
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile.client
|
||||
expose:
|
||||
- '80'
|
||||
volumes:
|
||||
- dist-data:/usr/share/nginx/html:ro
|
||||
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
depends_on:
|
||||
- server
|
||||
networks:
|
||||
|
||||
3
docker/Dockerfile.client
Normal file
3
docker/Dockerfile.client
Normal file
@ -0,0 +1,3 @@
|
||||
FROM nginx:alpine
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 80
|
||||
Loading…
x
Reference in New Issue
Block a user