Spaces:
Runtime error
Runtime error
Download services/api/scripts/start.sh from Oheha/cybully-api: direct link, hf CLI and curl.
- Browser
- Download file 162 Bytes
-
https://huggingface.co/spaces/Oheha/cybully-api/resolve/main/services/api/scripts/start.sh
- Command line
-
hf download hf://spaces/Oheha/cybully-api/services/api/scripts/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/Oheha/cybully-api/resolve/main/services/api/scripts/start.sh
162 Bytes
| set -eu | |
| if [ "${RUN_MIGRATIONS:-1}" = "1" ]; then | |
| alembic upgrade head | |
| fi | |
| exec uvicorn app.main:app --host 0.0.0.0 --port "${PORT:-8000}" | |