File size: 199 Bytes
780d695
1071749
 
 
 
 
 
780d695
1071749
780d695
1071749
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
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