Files
trumpsignal-backend/entrypoint.sh
T
2026-04-21 19:41:11 +08:00

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