Spaces:
Runtime error
Runtime error
Download entrypoint.sh from lifedebugger/event-booking-api: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/lifedebugger/event-booking-api/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/lifedebugger/event-booking-api/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/lifedebugger/event-booking-api/resolve/main/entrypoint.sh
317 Bytes
| # Container startup: load the QA dataset if this version is not there yet | |
| # (the seeder checks and skips on its own), then start the API. | |
| # Set SEED_ON_STARTUP=false to start without seeding (for example in production). | |
| set -e | |
| if [ "${SEED_ON_STARTUP:-true}" = "true" ]; then | |
| /app/seed | |
| fi | |
| exec /app/app | |