fix(deploy): stamp head instead of upgrade to avoid duplicate column
This commit is contained in:
parent
d970a9c06a
commit
d0831684ec
@ -44,4 +44,4 @@ RUN mkdir -p ./data/scenarios ./data/reports
|
|||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
||||||
CMD curl -f http://localhost:8000/api/health || exit 1
|
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"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user