Prepare GeoIntel for public release
Managed validation / Managed repository validation (pull_request) Successful in 1m46s
GeoIntel release gates / Compile, test, contracts and builds (pull_request) Successful in 1m51s
GeoIntel release gates / Python and npm vulnerability policy (pull_request) Successful in 20s
GeoIntel release gates / Production AI image, SBOM and container scan (pull_request) Successful in 15m3s
GeoIntel release gates / Deploy exact gated revision to Unraid (pull_request) Skipped

This commit is contained in:
Jens
2026-08-31 21:33:10 +02:00
parent dcd67b11d1
commit 2cdf9c99c6
195 changed files with 595 additions and 207595 deletions
+9 -16
View File
@@ -1,4 +1,4 @@
FROM node:20-alpine AS frontend-build
FROM node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 AS frontend-build
WORKDIR /frontend
COPY frontend/package.json frontend/package-lock.json ./
@@ -6,15 +6,10 @@ RUN npm ci
COPY frontend/ ./
RUN npm run build
FROM postgres:16-bookworm AS runtime
FROM postgres:16-bookworm@sha256:bb3e1a57e5407e0a5280b4211980a5e537f4abd234a87014ac979849a78dd825 AS runtime
ARG GEOINTEL_INSTALL_AI=false
ARG GEOINTEL_TORCH_INDEX_URL=https://download.pytorch.org/whl/cu128
ARG GEOINTEL_TORCH_VERSION=2.11.0
ARG GEOINTEL_TORCHVISION_VERSION=0.26.0
ARG GEOINTEL_ULTRALYTICS_VERSION=8.4.99
ARG GEOINTEL_SETUPTOOLS_VERSION=81.0.0
ARG GEOINTEL_WHEEL_VERSION=0.47.0
ENV GEOINTEL_ENV=production \
GEOINTEL_API_PREFIX=/api/v1 \
@@ -53,22 +48,20 @@ WORKDIR /app
COPY deploy/unraid/gosu-setpriv /usr/local/bin/gosu
COPY backend/pyproject.toml /app/
COPY backend/requirements-runtime.lock /app/
COPY backend/requirements-ai-linux.lock /app/
COPY backend/requirements-build-tools.lock /app/
COPY backend/app/__init__.py /app/app/__init__.py
RUN printf '# GeoIntel backend package metadata\n' > /app/README.md \
&& /usr/bin/python3.11 -m venv /opt/geointel/venv \
&& pip install --no-cache-dir --require-hashes -r requirements-runtime.lock \
&& if [ "$GEOINTEL_INSTALL_AI" = "true" ]; then \
pip install --no-cache-dir \
--index-url "$GEOINTEL_TORCH_INDEX_URL" \
"torch==$GEOINTEL_TORCH_VERSION" \
"torchvision==$GEOINTEL_TORCHVISION_VERSION" \
&& pip install --no-cache-dir \
"ultralytics==$GEOINTEL_ULTRALYTICS_VERSION"; \
pip install --no-cache-dir --require-hashes \
--index-url https://pypi.org/simple \
--extra-index-url "$GEOINTEL_TORCH_INDEX_URL" \
-r requirements-ai-linux.lock; \
fi \
&& pip install --no-cache-dir \
"setuptools==$GEOINTEL_SETUPTOOLS_VERSION" \
"wheel==$GEOINTEL_WHEEL_VERSION" \
&& pip install --no-cache-dir --require-hashes -r requirements-build-tools.lock \
&& pip check
COPY backend/ /app/
+1 -1
View File
@@ -178,7 +178,7 @@ docker logs --tail 200 geointel
De vroegere geneste mirror `C:\Projects\geointel\geointel` is geretireerd. De
immutable Git-herkomst, niet-getrackte recoverybestanden en verificatiegrens
staan in `docs/accuracy-program/13-nested-mirror-retirement.md`. Behandel die
staan in de private release-evidence buiten Git. Behandel die
evidence als herstelreferentie; deze handleiding vraagt geen extra kopieer- of
opruimactie.