diff --git a/docker/backend.entrypoint.sh b/docker/backend.entrypoint.sh index e0934c35..564c9b82 100755 --- a/docker/backend.entrypoint.sh +++ b/docker/backend.entrypoint.sh @@ -150,6 +150,11 @@ install_playwright() { install_certificates install_playwright + +echo "[entrypoint] Running Alembic migrations..." +alembic upgrade head 2>&1 | sed 's/^/[entrypoint] /' +echo "[entrypoint] ✅ Alembic migrations applied" + bootstrap_admin echo "[entrypoint] Starting backend: $*"