fix bake nginx config into image to avoid Portainer volume mount issue

This commit is contained in:
Dan
2026-06-22 01:23:01 -06:00
parent eae178cc8e
commit 8c2cb138ec
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -1,10 +1,8 @@
services: services:
nginx: nginx:
image: nginx:alpine build: ./nginx
ports: ports:
- "80:80" - "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on: depends_on:
- frontend - frontend
- backend - backend
+2
View File
@@ -0,0 +1,2 @@
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf