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