From 2d214e1a7f9b1f690b08995a07552832e880b0ff Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Wed, 25 Feb 2026 14:02:43 +0100 Subject: [PATCH] Fix entrypoint: export DATA_DIR before exec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- build/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/entrypoint.sh b/build/entrypoint.sh index f584df9..0575221 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -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