Update Dockerfile
Browse files- Dockerfile +11 -4
Dockerfile
CHANGED
|
@@ -22,12 +22,13 @@ RUN apt-get update && \
|
|
| 22 |
# rm -rf /var/lib/apt/lists/*
|
| 23 |
|
| 24 |
# Install OpenClaw globally
|
| 25 |
-
RUN npm install -g openclaw@2026.3.
|
| 26 |
#npm install -g playwright && \
|
| 27 |
#playwright install chromium && \
|
| 28 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11 && \
|
| 29 |
-
openclaw plugins install @dingtalk-real-ai/dingtalk-connector && \
|
| 30 |
-
#npm install -g @larksuiteoapi/feishu-openclaw-plugin
|
|
|
|
| 31 |
#openclaw plugins install @mjand66/openclaw-dingtalk
|
| 32 |
npm install -g clawhub
|
| 33 |
|
|
@@ -174,6 +175,9 @@ chmod 600 /root/.openclaw/agents/main/agent/auth-profiles.json 2>/dev/null || tr
|
|
| 174 |
# Run doctor
|
| 175 |
openclaw doctor --fix || true
|
| 176 |
|
|
|
|
|
|
|
|
|
|
| 177 |
# 添加dingtalk
|
| 178 |
#openclaw plugins install @mjand66/openclaw-dingtalk
|
| 179 |
#openclaw config set channels.dingtalk.allowFrom '["*"]'
|
|
@@ -186,10 +190,12 @@ openclaw doctor --fix || true
|
|
| 186 |
#openclaw config set channels.dingtalk.messageType "markdown"
|
| 187 |
#openclaw config set channels.dingtalk.cardMode true
|
| 188 |
#openclaw config set channels.dingtalk.enabled true
|
|
|
|
| 189 |
openclaw config set channels.dingtalk-connector.clientId "dingmlwlgko0yyojfsqf"
|
| 190 |
openclaw config set channels.dingtalk-connector.clientSecret "mf5Tm_E6r__veTQkuCbN129_jyf991XRpIhG9quhp3UbhYq0Ql0ycImMyhjrMv5M"
|
| 191 |
openclaw config set channels.dingtalk-connector.gatewayToken "hF.2002927..369"
|
| 192 |
-
openclaw config set channels.dingtalk-connector.gatewayBaseUrl: "http://127.0.0.1:18789"
|
|
|
|
| 193 |
openclaw config set channels.dingtalk-connector.enabled true
|
| 194 |
|
| 195 |
# 添加wecom
|
|
@@ -215,6 +221,7 @@ openclaw config set channels.dingtalk-connector.enabled true
|
|
| 215 |
#openclaw config set channels.feishu.allowFrom '["*"]'
|
| 216 |
#openclaw config set channels.feishu.groupAllowFrom '["*"]'
|
| 217 |
#openclaw config set channels.feishu.enabled true
|
|
|
|
| 218 |
|
| 219 |
|
| 220 |
# 自动批准
|
|
|
|
| 22 |
# rm -rf /var/lib/apt/lists/*
|
| 23 |
|
| 24 |
# Install OpenClaw globally
|
| 25 |
+
RUN npm install -g openclaw@2026.3.13 && \
|
| 26 |
#npm install -g playwright && \
|
| 27 |
#playwright install chromium && \
|
| 28 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11 && \
|
| 29 |
+
#openclaw plugins install @dingtalk-real-ai/dingtalk-connector && \
|
| 30 |
+
#npm install -g @larksuiteoapi/feishu-openclaw-plugin && \
|
| 31 |
+
#openclaw plugins install @larksuiteoapi/feishu-openclaw-plugin && \
|
| 32 |
#openclaw plugins install @mjand66/openclaw-dingtalk
|
| 33 |
npm install -g clawhub
|
| 34 |
|
|
|
|
| 175 |
# Run doctor
|
| 176 |
openclaw doctor --fix || true
|
| 177 |
|
| 178 |
+
#
|
| 179 |
+
openclaw config set gateway.http.endpoints.chatCompletions.enabled true
|
| 180 |
+
|
| 181 |
# 添加dingtalk
|
| 182 |
#openclaw plugins install @mjand66/openclaw-dingtalk
|
| 183 |
#openclaw config set channels.dingtalk.allowFrom '["*"]'
|
|
|
|
| 190 |
#openclaw config set channels.dingtalk.messageType "markdown"
|
| 191 |
#openclaw config set channels.dingtalk.cardMode true
|
| 192 |
#openclaw config set channels.dingtalk.enabled true
|
| 193 |
+
openclaw plugins install @dingtalk-real-ai/dingtalk-connector
|
| 194 |
openclaw config set channels.dingtalk-connector.clientId "dingmlwlgko0yyojfsqf"
|
| 195 |
openclaw config set channels.dingtalk-connector.clientSecret "mf5Tm_E6r__veTQkuCbN129_jyf991XRpIhG9quhp3UbhYq0Ql0ycImMyhjrMv5M"
|
| 196 |
openclaw config set channels.dingtalk-connector.gatewayToken "hF.2002927..369"
|
| 197 |
+
#openclaw config set channels.dingtalk-connector.gatewayBaseUrl: "http://127.0.0.1:18789"
|
| 198 |
+
openclaw config set channels.dingtalk-connector.asyncMode: true
|
| 199 |
openclaw config set channels.dingtalk-connector.enabled true
|
| 200 |
|
| 201 |
# 添加wecom
|
|
|
|
| 221 |
#openclaw config set channels.feishu.allowFrom '["*"]'
|
| 222 |
#openclaw config set channels.feishu.groupAllowFrom '["*"]'
|
| 223 |
#openclaw config set channels.feishu.enabled true
|
| 224 |
+
openclaw plugins install @larksuiteoapi/feishu-openclaw-plugin
|
| 225 |
|
| 226 |
|
| 227 |
# 自动批准
|