From b00afa91816d0304be44b695059f8103aa9fe7ee Mon Sep 17 00:00:00 2001 From: Codex Date: Wed, 17 Jun 2026 04:55:42 +0200 Subject: [PATCH] Remove default nginx site from all-in-one image --- backend/tests/test_sprint31_unraid_template.py | 1 + deploy/unraid/Dockerfile.all-in-one | 1 + 2 files changed, 2 insertions(+) diff --git a/backend/tests/test_sprint31_unraid_template.py b/backend/tests/test_sprint31_unraid_template.py index 6ecb8c78..472d0248 100644 --- a/backend/tests/test_sprint31_unraid_template.py +++ b/backend/tests/test_sprint31_unraid_template.py @@ -76,6 +76,7 @@ def test_unraid_all_in_one_runtime_starts_embedded_postgis_backend_and_nginx() - assert "python3-pip" not in dockerfile assert "python3-venv" in dockerfile assert "COPY --from=frontend-build /frontend/dist/ /usr/share/nginx/html/" in dockerfile + assert "rm -f /etc/nginx/sites-enabled/default" in dockerfile assert 'CMD ["/usr/local/bin/geointel-all-in-one-start"]' in dockerfile assert "/usr/local/bin/docker-entrypoint.sh postgres &" in start_script assert "python -m alembic upgrade head" in start_script diff --git a/deploy/unraid/Dockerfile.all-in-one b/deploy/unraid/Dockerfile.all-in-one index 94ef5151..ea7a189f 100644 --- a/deploy/unraid/Dockerfile.all-in-one +++ b/deploy/unraid/Dockerfile.all-in-one @@ -49,6 +49,7 @@ RUN /usr/bin/python3.11 -m venv /opt/geointel/venv \ && pip install --no-cache-dir ".[gis]" \ && python scripts/gis_import_smoke.py \ && chmod +x /usr/local/bin/geointel-all-in-one-start \ + && rm -f /etc/nginx/sites-enabled/default \ && mkdir -p /app/storage /run/nginx /var/log/nginx VOLUME ["/var/lib/postgresql/data", "/app/storage"]