Spaces:
Running
Running
Download backend/start.sh from Muhammad-Mehdi/Backend-B2V: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/Muhammad-Mehdi/Backend-B2V/resolve/main/backend/start.sh
- Command line
-
hf download hf://spaces/Muhammad-Mehdi/Backend-B2V/backend/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/Muhammad-Mehdi/Backend-B2V/resolve/main/backend/start.sh
205 Bytes
| set -e | |
| # Cloud Run sets PORT automatically, default to 8080 if not set | |
| PORT=${PORT:-8080} | |
| # Start uvicorn with the correct host and port | |
| exec uvicorn app.main:app --host 0.0.0.0 --port $PORT | |