From 5e5998845b24a2ec5789219496abbb7b6619f03a Mon Sep 17 00:00:00 2001 From: kibin Date: Tue, 17 Mar 2026 02:10:08 +0000 Subject: [PATCH] fix: build nginx from Dockerfile instead of volume mount --- docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b08d822..c90fc41 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -96,12 +96,10 @@ services: - backend nginx: - image: nginx:alpine + build: ./nginx restart: unless-stopped ports: - "8091:80" - volumes: - - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro depends_on: - backend - frontend