copilot-api / entrypoint.sh
imseldrith's picture
Update entrypoint.sh
f7efad2 verified
raw
history blame
196 Bytes
#!/bin/sh
PORT=${PORT:-7860}
if [ "$1" = "--auth" ]; then
exec bun run dist/main.js auth
else
exec bun run dist/main.js start \
-g "$GH_TOKEN" \
--port $PORT \
--host 0.0.0.0
fi