From 27425889b39d60ec285a990bd2e7d15026cd6f65 Mon Sep 17 00:00:00 2001 From: agatha Date: Sun, 10 May 2026 00:18:48 +0000 Subject: [PATCH] Fix: Include scripts/ in production Docker image Dockerfile.prod explicitly listed copied directories and omitted scripts/, so the migration script was absent from the prod image. Co-Authored-By: Claude Sonnet 4.6 --- api/Dockerfile.prod | 1 + 1 file changed, 1 insertion(+) diff --git a/api/Dockerfile.prod b/api/Dockerfile.prod index b2f08a6..01dd0a9 100644 --- a/api/Dockerfile.prod +++ b/api/Dockerfile.prod @@ -37,6 +37,7 @@ COPY --from=builder --chown=appuser:appgroup /app/.venv /app/.venv COPY --chown=appuser:appgroup app/ ./app/ COPY --chown=appuser:appgroup alembic/ ./alembic/ COPY --chown=appuser:appgroup alembic.ini . +COPY --chown=appuser:appgroup scripts/ ./scripts/ USER appuser