#!/usr/bin/env bash # App entrypoint: apply migrations, then launch the API. set -e cd /app echo "[entrypoint] running migrations..." alembic upgrade head echo "[entrypoint] starting uvicorn..." exec uvicorn app.main:app --host 0.0.0.0 --port 8000