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