promptlooper/docker/entrypoint.sh
John Lightner 7dad9d97af MAESTRO: Add entrypoint migrations, worker config, and stack integration tests
Create docker/entrypoint.sh to run alembic migrations on API startup.
Create backend/worker.py with Celery app config for the compose worker service.
Fix README single-container port (8000) and add production compose documentation.
Add 27 tests (stack integration + worker) verifying all Docker/compose artifacts
are present, consistent, and the /health endpoint responds correctly.
2026-04-07 02:09:56 -05:00

10 lines
252 B
Bash

#!/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 "$@"