correct config
This commit is contained in:
parent
eeb9025210
commit
9175004893
@ -23,12 +23,13 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
client:
|
client:
|
||||||
image: nginx:alpine
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: docker/Dockerfile.client
|
||||||
expose:
|
expose:
|
||||||
- '80'
|
- '80'
|
||||||
volumes:
|
volumes:
|
||||||
- dist-data:/usr/share/nginx/html:ro
|
- dist-data:/usr/share/nginx/html:ro
|
||||||
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
networks:
|
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