9 lines
186 B
Bash
9 lines
186 B
Bash
#!/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
|