copilot-api / entrypoint.sh
imspsycho's picture
Update entrypoint.sh
1071749 verified
raw
history blame contribute delete
199 Bytes
#!/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