Update Dockerfile
Browse files- Dockerfile +14 -14
Dockerfile
CHANGED
|
@@ -160,16 +160,16 @@ chmod 600 /root/.openclaw/agents/main/agent/auth-profiles.json 2>/dev/null || tr
|
|
| 160 |
openclaw doctor --fix || true
|
| 161 |
|
| 162 |
# 添加dingtalk
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
|
| 174 |
# 添加wecom
|
| 175 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11
|
|
@@ -205,7 +205,7 @@ echo "Starting OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
|
| 205 |
|
| 206 |
#openclaw doctor --fix
|
| 207 |
|
| 208 |
-
|
| 209 |
#exec openclaw agent run --name main
|
| 210 |
#exec openclaw gateway run --port ${OPENCLAW_PORT}
|
| 211 |
#clawport dev --port 3000 &
|
|
@@ -218,9 +218,9 @@ echo "Starting OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
|
| 218 |
#cd /app
|
| 219 |
#npm run serve &
|
| 220 |
#wait -n
|
| 221 |
-
cd mission-control && npm run dev &
|
| 222 |
-
openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 223 |
-
wait -n
|
| 224 |
EOF
|
| 225 |
|
| 226 |
RUN chmod +x /usr/local/bin/start-openclaw
|
|
|
|
| 160 |
openclaw doctor --fix || true
|
| 161 |
|
| 162 |
# 添加dingtalk
|
| 163 |
+
openclaw plugins install @mjand66/openclaw-dingtalk
|
| 164 |
+
openclaw config set channels.dingtalk.allowFrom '["*"]'
|
| 165 |
+
openclaw config set channels.dingtalk.groupAllowFrom '["*"]'
|
| 166 |
+
openclaw config set channels.dingtalk.dmPolicy "allowlist"
|
| 167 |
+
openclaw config set channels.dingtalk.groupPolicy "allowlist"
|
| 168 |
+
openclaw config set channels.dingtalk.clientId "ding2agysywgqnjb79yi"
|
| 169 |
+
openclaw config set channels.dingtalk.clientSecret "LJl__dBvs7g8ozCENLDXfk89fIcEL67nJ6Y0or2TDgCjuLSelohwPjk_Nbxwo4mN"
|
| 170 |
+
openclaw config set channels.dingtalk.robotCode "ding2agysywgqnjb79yi"
|
| 171 |
+
openclaw config set channels.dingtalk.messageType "markdown"
|
| 172 |
+
openclaw config set channels.dingtalk.enabled true
|
| 173 |
|
| 174 |
# 添加wecom
|
| 175 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11
|
|
|
|
| 205 |
|
| 206 |
#openclaw doctor --fix
|
| 207 |
|
| 208 |
+
exec openclaw start --port ${OPENCLAW_PORT}
|
| 209 |
#exec openclaw agent run --name main
|
| 210 |
#exec openclaw gateway run --port ${OPENCLAW_PORT}
|
| 211 |
#clawport dev --port 3000 &
|
|
|
|
| 218 |
#cd /app
|
| 219 |
#npm run serve &
|
| 220 |
#wait -n
|
| 221 |
+
#cd mission-control && npm run dev &
|
| 222 |
+
#openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 223 |
+
#wait -n
|
| 224 |
EOF
|
| 225 |
|
| 226 |
RUN chmod +x /usr/local/bin/start-openclaw
|