BuyingAgent/scripts/startup.sh

8 lines
163 B
Bash
Raw Normal View History

#!/bin/sh
set -e
echo "=== BuyingAgent API startup ==="
alembic upgrade head
echo "=== starting uvicorn ==="
exec uvicorn app.main:app --host 0.0.0.0 --port 8000