Spaces:
Running
Running
Delete entrypoint.sh
Browse files- entrypoint.sh +0 -16
entrypoint.sh
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
#!/bin/sh
|
| 2 |
-
set -e
|
| 3 |
-
|
| 4 |
-
CONFIG_FILE="/app/config.yaml"
|
| 5 |
-
CONFIG_EXAMPLE="/app/config.yaml.example"
|
| 6 |
-
|
| 7 |
-
# Bootstrap config.yaml if missing
|
| 8 |
-
if [ ! -f "$CONFIG_FILE" ]; then
|
| 9 |
-
cp "$CONFIG_EXAMPLE" "$CONFIG_FILE"
|
| 10 |
-
fi
|
| 11 |
-
|
| 12 |
-
# HF Spaces requires port 7860
|
| 13 |
-
export PORT=7860
|
| 14 |
-
|
| 15 |
-
echo "[cursor2api] Starting on port 7860..."
|
| 16 |
-
exec node dist/index.js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|