quinnz commited on
Commit
81885f4
·
verified ·
1 Parent(s): 3f933d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -8
Dockerfile CHANGED
@@ -174,7 +174,15 @@ cat > /root/.openclaw/openclaw.json <<EOF
174
  "mode":"token",
175
  "token":"$OPENCLAW_GATEWAY_PASSWORD"
176
  },
177
- "controlUi":{"allowInsecureAuth":true}
 
 
 
 
 
 
 
 
178
  },
179
  "channels":{
180
  "slack":{
@@ -232,13 +240,6 @@ python3 -u /usr/local/bin/auto-approve.py
232
  # ---------------------------
233
  # 保持前台运行,防止容器退出
234
  # ---------------------------
235
-
236
- echo "--quinn-- Waiting for openclaw to be ready ---"
237
- for i in {1..10}; do
238
- sleep 1
239
- done
240
- openclaw device pair approve --all
241
-
242
  wait
243
  SHEOF
244
 
 
174
  "mode":"token",
175
  "token":"$OPENCLAW_GATEWAY_PASSWORD"
176
  },
177
+ "controlUi":{
178
+ "allowInsecureAuth":true,
179
+ "controlUi": {
180
+ "allowedOrigins": [
181
+ "http://127.0.0.1:7860",
182
+ "http://localhost:7860"
183
+ ]
184
+ }
185
+ }
186
  },
187
  "channels":{
188
  "slack":{
 
240
  # ---------------------------
241
  # 保持前台运行,防止容器退出
242
  # ---------------------------
 
 
 
 
 
 
 
243
  wait
244
  SHEOF
245