copilot-api / entrypoint.sh
imspsycho's picture
Update entrypoint.sh
8249246 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