Spaces:
Starting
Starting
Update entrypoint.sh
Browse files- entrypoint.sh +3 -7
entrypoint.sh
CHANGED
|
@@ -1,9 +1,5 @@
|
|
| 1 |
#!/bin/sh
|
| 2 |
-
|
| 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"
|