sfun commited on
Commit
0540ccb
·
verified ·
1 Parent(s): c879c1a

Delete entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +0 -18
entrypoint.sh DELETED
@@ -1,18 +0,0 @@
1
- #!/bin/sh
2
-
3
- # 设置脚本在任何命令失败时立即退出
4
- set -e
5
-
6
- # 设置脚本在执行命令时打印命令本身
7
- set -x
8
-
9
- RAYCAST_CMD="python -m uvicorn app.main:app --host 0.0.0.0 --port 3000"
10
-
11
- # 运行 Raycast API Proxy
12
- $RAYCAST_CMD "$@" &
13
-
14
- # 捕获中断信号并清理资源
15
- trap 'kill $(jobs -p); exit 1' INT TERM
16
-
17
- # 等待所有后台进程结束
18
- wait