Spaces:
Running
Running
Download bioai-platform/backend/railway.json from Samad14/bio-nexus-api: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/bioai-platform/backend/railway.json
- Command line
-
hf download hf://spaces/Samad14/bio-nexus-api/bioai-platform/backend/railway.json
-
curl -L -o railway.json https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/bioai-platform/backend/railway.json
355 Bytes
| { | |
| "$schema": "https://railway.app/railway.schema.json", | |
| "build": { | |
| "builder": "NIXPACKS", | |
| "buildCommand": "pip install -r requirements.txt" | |
| }, | |
| "deploy": { | |
| "startCommand": "uvicorn app.main:app --host 0.0.0.0 --port $PORT", | |
| "healthcheckPath": "/health", | |
| "restartPolicyType": "ON_FAILURE", | |
| "restartPolicyMaxRetries": 3 | |
| } | |
| } | |