#!/bin/bash set -euo pipefail DATA_DIR="/app/data" echo "[entrypoint] Starting crond..." crond -b -l 2 echo "[entrypoint] Starting initial scrape in background..." bash /app/run_all.sh --data-dir "$DATA_DIR" & echo "[entrypoint] Starting HTTP server on port 8080..." exec python3 -m http.server 8080 --directory "$DATA_DIR"