buhailong commited on
Commit
c9a3f7d
·
verified ·
1 Parent(s): 571012b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -8
Dockerfile CHANGED
@@ -17,6 +17,7 @@ RUN update-ca-certificates && \
17
 
18
  # 4. OpenClaw 核心安装与飞书插件预装
19
  RUN npm install -g openclaw@latest --unsafe-perm
 
20
 
21
  # 5. 环境变量预设
22
  ENV PORT=7860 \
@@ -104,10 +105,8 @@ cat > /root/.openclaw/openclaw.json <<INNER_EOF
104
  },
105
  "channels": {
106
  "feishu": {
107
- "groups": {
108
- "oc_6bb683b92d37e715e6256177c21dc442": { "requireMention": false }
109
- },
110
  "enabled": true,
 
111
  "accounts": {
112
  "default": {
113
  "appId": "$LARK_APP_ID",
@@ -116,11 +115,7 @@ cat > /root/.openclaw/openclaw.json <<INNER_EOF
116
  }
117
  },
118
  "allowFrom": [
119
- {
120
- "type": "user",
121
- "id": "*",
122
- "reason": "初始调试:允许所有用户"
123
- }
124
  ]
125
  }
126
  },
 
17
 
18
  # 4. OpenClaw 核心安装与飞书插件预装
19
  RUN npm install -g openclaw@latest --unsafe-perm
20
+ RUN openclaw plugins install @openclaw/feishu
21
 
22
  # 5. 环境变量预设
23
  ENV PORT=7860 \
 
105
  },
106
  "channels": {
107
  "feishu": {
 
 
 
108
  "enabled": true,
109
+ "dmPolicy": "pairing",
110
  "accounts": {
111
  "default": {
112
  "appId": "$LARK_APP_ID",
 
115
  }
116
  },
117
  "allowFrom": [
118
+ { "type": "user", "id": "*", "reason": "初始调试:允许所有用户" }
 
 
 
 
119
  ]
120
  }
121
  },