Use explicit Python 3.11 for all-in-one build
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 04:50:00 +02:00
parent 19326cc0b6
commit 1f9baf1ccf
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -28,7 +28,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libproj-dev \
nginx \
proj-bin \
&& ln -sf python3.11 /usr/bin/python3 \
&& ln -sf /usr/bin/python3.11 /usr/local/bin/python3 \
&& ln -sf /usr/bin/python3.11 /usr/bin/python3 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
@@ -39,7 +40,7 @@ COPY deploy/unraid/nginx-all-in-one.conf /etc/nginx/conf.d/default.conf
COPY deploy/unraid/all-in-one-start.sh /usr/local/bin/geointel-all-in-one-start
COPY --from=frontend-build /frontend/dist/ /usr/share/nginx/html/
RUN python3 -m venv /opt/geointel/venv \
RUN /usr/bin/python3.11 -m venv /opt/geointel/venv \
&& pip install --no-cache-dir --upgrade pip setuptools \
&& pip install --no-cache-dir ".[gis]" \
&& python scripts/gis_import_smoke.py \