kyle-ai commited on
Commit
eab57ec
·
verified ·
1 Parent(s): 8073670

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
11
  RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
12
 
13
  # 3. 安装 OpenClaw 和 PM2
14
- ARG OPENCLAW_VERSION=2026.2.19
15
  RUN npm install -g openclaw@${OPENCLAW_VERSION} pm2 --registry=https://registry.npmjs.org/ --unsafe-perm=true --foreground-scripts && npm cache clean --force
16
 
17
  # 4. 设置环境变量
@@ -104,7 +104,7 @@ cat > /root/.openclaw/openclaw.json <<EOF\n\
104
  \"gateway\": {\n\
105
  \"mode\": \"local\", \"bind\": \"lan\", \"port\": \$PORT,\n\
106
  \"auth\": { \"mode\": \"token\", \"token\": \"\$OPENCLAW_GATEWAY_PASSWORD\" },\n\
107
- \"controlUi\": { \"allowInsecureAuth\": true }\n\
108
  }\n\
109
  }\n\
110
  EOF\n\
 
11
  RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
12
 
13
  # 3. 安装 OpenClaw 和 PM2
14
+ ARG OPENCLAW_VERSION=2026.2.26
15
  RUN npm install -g openclaw@${OPENCLAW_VERSION} pm2 --registry=https://registry.npmjs.org/ --unsafe-perm=true --foreground-scripts && npm cache clean --force
16
 
17
  # 4. 设置环境变量
 
104
  \"gateway\": {\n\
105
  \"mode\": \"local\", \"bind\": \"lan\", \"port\": \$PORT,\n\
106
  \"auth\": { \"mode\": \"token\", \"token\": \"\$OPENCLAW_GATEWAY_PASSWORD\" },\n\
107
+ \"controlUi\": {\"enabled\":true,\"allowInsecureAuth\":true,\"dangerouslyDisableDeviceAuth\":true,\"dangerouslyAllowHostHeaderOriginFallback\":true}\n\
108
  }\n\
109
  }\n\
110
  EOF\n\