Spaces:
Sleeping

arkanum / startup.sh
benny4982's picture
Claude Opus 4.6
Add vision expert, FastAPI backend, frontend, and HF Spaces deployment
f73c3e2
Raw History Blame
420 Bytes
#!/bin/bash
# Azure App Service Startup Script
export PYTHONPATH=/home/site/wwwroot
cd /home/site/wwwroot
# gunicorn mit uvicorn worker starten
# Index wird automatisch beim App-Start gebaut (siehe src/api.py lifespan)
exec gunicorn \
--worker-class uvicorn.workers.UvicornWorker \
--bind 0.0.0.0:8000 \
--workers 2 \
--timeout 600 \
--access-logfile '-' \
--error-logfile '-' \
src.api:app