Download apps/server/docker-bootstrap.sh from fukeke/rss: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/spaces/fukeke/rss/resolve/main/apps/server/docker-bootstrap.sh
- Command line
-
hf download hf://spaces/fukeke/rss/apps/server/docker-bootstrap.sh
-
curl -L -o docker-bootstrap.sh https://huggingface.co/spaces/fukeke/rss/resolve/main/apps/server/docker-bootstrap.sh
289 Bytes
| #!/bin/sh | |
| # ENVIRONEMTN from docker-compose.yaml doesn't get through to subprocesses | |
| # Need to explicit pass DATABASE_URL here, otherwise migration doesn't work | |
| # Run migrations | |
| DATABASE_URL=${DATABASE_URL} npx prisma migrate deploy | |
| # start app | |
| DATABASE_URL=${DATABASE_URL} node dist/main |