copilot-api / entrypoint.sh
imspsycho's picture
Initial upload from Google Colab
780d695 verified
raw
history blame contribute delete
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