trymeapp/docker-entrypoint.sh

9 lines
212 B
Bash
Raw Normal View History

2026-11-11 22:06:26 +00:00
#!/bin/sh
set -e
echo "Running Alembic database migrations..."
alembic upgrade head
echo "Starting TryMe FastAPI server on port ${PORT:-8000}..."
exec uvicorn app.main:app --host 0.0.0.0 --port "${PORT:-8000}"