Spaces:
Sleeping
Sleeping
Nice
commited on
Commit
•
87a551c
1
Parent(s):
192c770
Update entrypoint.sh
Browse files- entrypoint.sh +2 -2
entrypoint.sh
CHANGED
@@ -7,7 +7,7 @@ if [ -z "$BOT_CONFIG" ]; then
|
|
7 |
else
|
8 |
# 将环境变量CONFIG的值写入bot_config.json文件
|
9 |
echo "$BOT_CONFIG" > /app/coze-discord-proxy/data/config/bot_config.json
|
10 |
-
# 执行传递给脚本的命令(例如,启动您的应用程序)
|
11 |
-
exec "$@"
|
12 |
fi
|
13 |
|
|
|
|
|
|
7 |
else
|
8 |
# 将环境变量CONFIG的值写入bot_config.json文件
|
9 |
echo "$BOT_CONFIG" > /app/coze-discord-proxy/data/config/bot_config.json
|
|
|
|
|
10 |
fi
|
11 |
|
12 |
+
# 执行传递给脚本的命令(例如,启动您的应用程序)
|
13 |
+
exec "$@"
|