From df3e592660fdc8b8825a0dc3d4dcd2ab9c35bf54 Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 10 Feb 2026 00:34:33 +0000 Subject: [PATCH] fix: cd to shared_lib for alembic (script_location is relative) Co-Authored-By: Claude Opus 4.6 --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5f58356..607fe25 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,7 +13,7 @@ fi # Run DB migrations only if RUN_MIGRATIONS=true (blog service only) if [[ "${RUN_MIGRATIONS:-}" == "true" ]]; then echo "Running Alembic migrations..." - alembic -c shared_lib/alembic.ini upgrade head + cd shared_lib && alembic upgrade head && cd /app fi # Clear Redis page cache on deploy