#!/bin/sh set -e cd /app if [ -n "${DATABASE_URL:-}" ] && [ "${SKIP_ALEMBIC:-0}" != "1" ]; then alembic upgrade head fi exec uvicorn onguard24.main:app --host 0.0.0.0 --port "${PORT:-8080}"