From 8a0b4d77f8f220e65001525062cb2e83cf256306 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 10 Feb 2026 19:07:31 -0500 Subject: [PATCH] Remove alembic stamp --purge from Dockerfile CMD Stop wiping Alembic version tracking on every restart. Now `alembic upgrade head` runs only pending migrations, as intended. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9429f47..555038b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ COPY alembic/ alembic/ ENV PYTHONPATH=/app/src EXPOSE 5000 -CMD ["sh", "-c", "(alembic stamp --purge base 2>/dev/null || true) && alembic upgrade head && hypercorn 'fabledassistant.app:create_app()' --bind 0.0.0.0:5000"] +CMD ["sh", "-c", "alembic upgrade head && hypercorn 'fabledassistant.app:create_app()' --bind 0.0.0.0:5000"]