diff --git a/entrypoint.sh b/entrypoint.sh index 177fc999897e830d0fd23493abe8f62ce5cf248e..e4bb84f3582f9e7bae6017bb8b1dd73e0c1962c8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,13 +3,8 @@ set -o errexit set -o nounset cd /app/gso -mv migrations migrations_temp && \ - PYTHONPATH=.. python main.py db init && \ - rm -rf migrations && \ - mv migrations_temp migrations - PYTHONPATH=.. python main.py db upgrade heads # Start the FastAPI application -cd .. +cd /app python -m uvicorn "gso.main:app" --host "0.0.0.0" --port 8080