From d0831684ecc126d037f9fa4764614e06c25efccc Mon Sep 17 00:00:00 2001 From: sinohqb Date: Mon, 20 Jul 2026 15:53:15 +0800 Subject: [PATCH] fix(deploy): stamp head instead of upgrade to avoid duplicate column --- deploy/volcengine-102/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/volcengine-102/Dockerfile b/deploy/volcengine-102/Dockerfile index 0834dbe..6217019 100644 --- a/deploy/volcengine-102/Dockerfile +++ b/deploy/volcengine-102/Dockerfile @@ -44,4 +44,4 @@ RUN mkdir -p ./data/scenarios ./data/reports EXPOSE 8000 HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ CMD curl -f http://localhost:8000/api/health || exit 1 -CMD ["sh", "-c", "python -c 'from agenteval.storage.db import init_db; init_db()' && alembic upgrade head && agenteval server start --host 0.0.0.0 --port 8000"] +CMD ["sh", "-c", "python -c 'from agenteval.storage.db import init_db; init_db()' && alembic stamp head && agenteval server start --host 0.0.0.0 --port 8000"]