Spaces:
Running
Running
| set -e | |
| echo "Starting app..." | |
| PORT=${PORT:-7860} | |
| if [ "$1" = "--auth" ]; then | |
| exec bun run dist/main.js auth | |
| else | |
| exec bun run dist/main.js start -p $PORT -g "${GH_TOKEN:-""}" | |
| fi |
| set -e | |
| echo "Starting app..." | |
| PORT=${PORT:-7860} | |
| if [ "$1" = "--auth" ]; then | |
| exec bun run dist/main.js auth | |
| else | |
| exec bun run dist/main.js start -p $PORT -g "${GH_TOKEN:-""}" | |
| fi |