From fd770b61a2eba4665a4fc91f30883e3a0987957b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Toledo?= Date: Tue, 27 Jan 2026 14:14:33 -0300 Subject: [PATCH] Fix: Add nano and remove nginx.conf host-mount for Portainer compatibility --- Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f12c636..36c1434 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest # Install NGINX and tools -RUN apk add --no-cache nginx nginx-mod-http-brotli nginx-mod-http-headers-more bind-tools openssl curl bash certbot git +RUN apk add --no-cache nginx nginx-mod-http-brotli nginx-mod-http-headers-more bind-tools openssl curl bash certbot git nano # Setup Nginx directories RUN mkdir -p /run/nginx /var/cache/nginx diff --git a/docker-compose.yml b/docker-compose.yml index d733100..2568e76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: - "80:80" - "443:443" volumes: - - ./nginx.conf:/etc/nginx/nginx.conf + #- ./nginx.conf:/etc/nginx/nginx.conf # Removed to avoid file-mount errors in Portainer - ./conf.d:/etc/nginx/conf.d - ./snippets:/etc/nginx/snippets - ./ssl:/etc/nginx/ssl