Spaces:
Paused
Paused
Download docker/entrypoint.sh from tareek/honcho-api: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/spaces/tareek/honcho-api/resolve/main/docker/entrypoint.sh
- Command line
-
hf download hf://spaces/tareek/honcho-api/docker/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/tareek/honcho-api/resolve/main/docker/entrypoint.sh
192 Bytes
| set -e | |
| echo "Running database migrations..." | |
| /app/.venv/bin/python scripts/provision_db.py | |
| echo "Starting API server..." | |
| exec /app/.venv/bin/fastapi run --host 0.0.0.0 src/main.py | |