Update Dockerfile
Browse files- Dockerfile +13 -9
Dockerfile
CHANGED
|
@@ -31,7 +31,9 @@ RUN npm install -g openclaw@2026.3.13 && \
|
|
| 31 |
#openclaw plugins install @larksuiteoapi/feishu-openclaw-plugin && \
|
| 32 |
#openclaw plugins install @mjand66/openclaw-dingtalk
|
| 33 |
npm install -g clawhub
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
#RUN git clone https://github.com/qingchencloud/clawpanel.git && \
|
| 36 |
# cd clawpanel && \
|
| 37 |
# npm install && \
|
|
@@ -190,13 +192,13 @@ openclaw config set gateway.http.endpoints.chatCompletions.enabled true
|
|
| 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 |
-
|
| 194 |
-
openclaw
|
| 195 |
-
openclaw config set channels.dingtalk-connector.
|
| 196 |
-
openclaw config set channels.dingtalk-connector.
|
| 197 |
-
#openclaw config set channels.dingtalk-connector.
|
| 198 |
-
openclaw config set channels.dingtalk-connector.asyncMode: true
|
| 199 |
-
openclaw config set channels.dingtalk-connector.enabled true
|
| 200 |
|
| 201 |
# 添加wecom
|
| 202 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11
|
|
@@ -235,7 +237,8 @@ echo "Starting ClawPanel/OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
|
| 235 |
|
| 236 |
#openclaw doctor --fix
|
| 237 |
|
| 238 |
-
exec openclaw gateway run --port ${OPENCLAW_PORT}
|
|
|
|
| 239 |
#exec openclaw start --port ${OPENCLAW_PORT}
|
| 240 |
#exec openclaw agent run --name main
|
| 241 |
#clawport dev --port 3000 &
|
|
@@ -266,6 +269,7 @@ exec openclaw gateway run --port ${OPENCLAW_PORT}
|
|
| 266 |
#cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420 &
|
| 267 |
#wait -n
|
| 268 |
#cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420
|
|
|
|
| 269 |
EOF
|
| 270 |
|
| 271 |
RUN chmod +x /usr/local/bin/start-openclaw
|
|
|
|
| 31 |
#openclaw plugins install @larksuiteoapi/feishu-openclaw-plugin && \
|
| 32 |
#openclaw plugins install @mjand66/openclaw-dingtalk
|
| 33 |
npm install -g clawhub
|
| 34 |
+
|
| 35 |
+
#
|
| 36 |
+
RUN curl -fsSL https://gitee.com/zxy000006/ClawPanel/raw/main/scripts/install.sh -o install.sh && sudo bash install.sh
|
| 37 |
#RUN git clone https://github.com/qingchencloud/clawpanel.git && \
|
| 38 |
# cd clawpanel && \
|
| 39 |
# npm install && \
|
|
|
|
| 192 |
#openclaw config set channels.dingtalk.messageType "markdown"
|
| 193 |
#openclaw config set channels.dingtalk.cardMode true
|
| 194 |
#openclaw config set channels.dingtalk.enabled true
|
| 195 |
+
|
| 196 |
+
#openclaw plugins install @dingtalk-real-ai/dingtalk-connector
|
| 197 |
+
#openclaw config set channels.dingtalk-connector.clientId "dingmlwlgko0yyojfsqf"
|
| 198 |
+
#openclaw config set channels.dingtalk-connector.clientSecret "mf5Tm_E6r__veTQkuCbN129_jyf991XRpIhG9quhp3UbhYq0Ql0ycImMyhjrMv5M"
|
| 199 |
+
#openclaw config set channels.dingtalk-connector.gatewayToken "hF.2002927..369"
|
| 200 |
+
#openclaw config set channels.dingtalk-connector.asyncMode: true
|
| 201 |
+
#openclaw config set channels.dingtalk-connector.enabled true
|
| 202 |
|
| 203 |
# 添加wecom
|
| 204 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11
|
|
|
|
| 237 |
|
| 238 |
#openclaw doctor --fix
|
| 239 |
|
| 240 |
+
#exec openclaw gateway run --port ${OPENCLAW_PORT}
|
| 241 |
+
|
| 242 |
#exec openclaw start --port ${OPENCLAW_PORT}
|
| 243 |
#exec openclaw agent run --name main
|
| 244 |
#clawport dev --port 3000 &
|
|
|
|
| 269 |
#cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420 &
|
| 270 |
#wait -n
|
| 271 |
#cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420
|
| 272 |
+
systemctl start clawpanel
|
| 273 |
EOF
|
| 274 |
|
| 275 |
RUN chmod +x /usr/local/bin/start-openclaw
|