correct config

This commit is contained in:
ordinarthur 2026-03-12 20:13:00 +01:00
parent eeb9025210
commit 9175004893
2 changed files with 6 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
FROM nginx:alpine
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80