Spaces:
Sleeping
Sleeping
Download deploy/start.sh from govindbalki/oncodsl: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/govindbalki/oncodsl/resolve/main/deploy/start.sh
- Command line
-
hf download hf://spaces/govindbalki/oncodsl/deploy/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/govindbalki/oncodsl/resolve/main/deploy/start.sh
349 Bytes
| set -euo pipefail | |
| # FastAPI engine (internal) | |
| cd /app | |
| python -m uvicorn api.app:app --host 127.0.0.1 --port 8000 & | |
| # Next.js front end (internal) | |
| cd /app/web | |
| node_modules/.bin/next start -p 3000 & | |
| # Reverse proxy + password gate on the public port (foreground) | |
| exec caddy run --config /etc/caddy/Caddyfile --adapter caddyfile | |