diff --git a/backend/tests/test_sprint31_unraid_template.py b/backend/tests/test_sprint31_unraid_template.py index a44af6b3..556ecb71 100644 --- a/backend/tests/test_sprint31_unraid_template.py +++ b/backend/tests/test_sprint31_unraid_template.py @@ -68,6 +68,9 @@ def test_unraid_all_in_one_runtime_starts_embedded_postgis_backend_and_nginx() - dockerignore = (ROOT / ".dockerignore").read_text(encoding="utf-8") assert "FROM postgis/postgis:16-3.5 AS runtime" in dockerfile + assert "ln -sf python3.11 /usr/bin/python3" in dockerfile + assert "python3-pip" not in dockerfile + assert "python3-venv" not in dockerfile assert "COPY --from=frontend-build /frontend/dist/ /usr/share/nginx/html/" 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 diff --git a/deploy/unraid/Dockerfile.all-in-one b/deploy/unraid/Dockerfile.all-in-one index c9ceaff2..d8b915f3 100644 --- a/deploy/unraid/Dockerfile.all-in-one +++ b/deploy/unraid/Dockerfile.all-in-one @@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libproj-dev \ nginx \ proj-bin \ - python3 \ - python3-pip \ - python3-venv \ + && ln -sf python3.11 /usr/bin/python3 \ && rm -rf /var/lib/apt/lists/* WORKDIR /app