imseldrith commited on
Commit
0836cdd
·
verified ·
1 Parent(s): 120cd8d

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -7
entrypoint.sh CHANGED
@@ -1,9 +1,5 @@
1
  #!/bin/sh
2
- if [ "$1" = "--auth" ]; then
3
- # Run auth command
4
- exec bun run dist/main.js auth
5
- else
6
- # Default command
7
- exec bun run dist/main.js start -g "$GH_TOKEN" "$@"
8
- fi
9
 
 
 
 
1
  #!/bin/sh
2
+ set -e
 
 
 
 
 
 
3
 
4
+ echo "Starting copilot-api..."
5
+ exec bun run dist/main.js start -g "$GH_TOKEN"