for deploy

This commit is contained in:
k
2026-04-21 19:41:11 +08:00
parent 3268080401
commit 3056635a5c
5 changed files with 115 additions and 14 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -e
echo "[entrypoint] Running Alembic migrations..."
alembic upgrade head
echo "[entrypoint] Starting API server..."
exec uvicorn app.main:app --host 0.0.0.0 --port 8000