#!/bin/sh set -e # Run database migrations echo "Running database migrations..." cd /app && alembic upgrade head # Start the application echo "Starting PromptLooper API..." exec uvicorn main:app --host 0.0.0.0 --port 8000 --app-dir /app/backend "$@"