1 Commits
0.03 ... 0.04

Author SHA1 Message Date
Jan Novak
2d214e1a7f Fix entrypoint: export DATA_DIR before exec
All checks were successful
Build and Push / build (push) Successful in 6s
exec does not support inline VAR=value assignments in bash —
the shell was trying to execute the literal string as a binary.
DATA_DIR is already set on line 4, so just export it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 14:02:43 +01:00

View File

@@ -19,4 +19,5 @@ echo "[entrypoint] Starting initial scrape in background..."
bash /app/run_all.sh &
echo "[entrypoint] Starting combined server on port 8080..."
exec DATA_DIR="$DATA_DIR" python3 /app/server.py
export DATA_DIR
exec python3 /app/server.py