#!/bin/bash # Start Celery worker in the background echo "Starting Celery worker..." celery -A app.workers.celery_app worker --loglevel=info & # Start FastAPI server in the foreground on port 7860 echo "Starting FastAPI server on port 7860..." exec uvicorn app.main:app --host 0.0.0.0 --port 7860