for deploy
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user