Update Dockerfile
Browse files- Dockerfile +9 -8
Dockerfile
CHANGED
|
@@ -177,12 +177,12 @@ openclaw doctor --fix || true
|
|
| 177 |
#openclaw config set channels.dingtalk.groupAllowFrom '["*"]'
|
| 178 |
#openclaw config set channels.dingtalk.dmPolicy "allowlist"
|
| 179 |
#openclaw config set channels.dingtalk.groupPolicy "allowlist"
|
| 180 |
-
openclaw config set channels.dingtalk.clientId "dingmlwlgko0yyojfsqf"
|
| 181 |
-
openclaw config set channels.dingtalk.clientSecret "mf5Tm_E6r__veTQkuCbN129_jyf991XRpIhG9quhp3UbhYq0Ql0ycImMyhjrMv5M"
|
| 182 |
#openclaw config set channels.dingtalk.robotCode "ding2agysywgqnjb79yi"
|
| 183 |
#openclaw config set channels.dingtalk.messageType "markdown"
|
| 184 |
-
openclaw config set channels.dingtalk.cardMode true
|
| 185 |
-
openclaw config set channels.dingtalk.enabled true
|
| 186 |
|
| 187 |
# 添加wecom
|
| 188 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11
|
|
@@ -212,7 +212,7 @@ openclaw config set channels.dingtalk.enabled true
|
|
| 212 |
# 自动批准
|
| 213 |
#openclaw devices approve --all || true
|
| 214 |
|
| 215 |
-
echo "Starting OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
| 216 |
|
| 217 |
#openclaw approvals allowlist add *
|
| 218 |
|
|
@@ -236,9 +236,10 @@ echo "Starting OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
|
| 236 |
#cd clawpanel & npm run dev &
|
| 237 |
#wait -n
|
| 238 |
|
| 239 |
-
openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 240 |
-
cd clawpanel
|
| 241 |
-
|
|
|
|
| 242 |
EOF
|
| 243 |
|
| 244 |
RUN chmod +x /usr/local/bin/start-openclaw
|
|
|
|
| 177 |
#openclaw config set channels.dingtalk.groupAllowFrom '["*"]'
|
| 178 |
#openclaw config set channels.dingtalk.dmPolicy "allowlist"
|
| 179 |
#openclaw config set channels.dingtalk.groupPolicy "allowlist"
|
| 180 |
+
#openclaw config set channels.dingtalk.clientId "dingmlwlgko0yyojfsqf"
|
| 181 |
+
#openclaw config set channels.dingtalk.clientSecret "mf5Tm_E6r__veTQkuCbN129_jyf991XRpIhG9quhp3UbhYq0Ql0ycImMyhjrMv5M"
|
| 182 |
#openclaw config set channels.dingtalk.robotCode "ding2agysywgqnjb79yi"
|
| 183 |
#openclaw config set channels.dingtalk.messageType "markdown"
|
| 184 |
+
#openclaw config set channels.dingtalk.cardMode true
|
| 185 |
+
#openclaw config set channels.dingtalk.enabled true
|
| 186 |
|
| 187 |
# 添加wecom
|
| 188 |
#openclaw plugins install @wecom/wecom-openclaw-plugin@1.0.11
|
|
|
|
| 212 |
# 自动批准
|
| 213 |
#openclaw devices approve --all || true
|
| 214 |
|
| 215 |
+
echo "Starting ClawPanel/OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
| 216 |
|
| 217 |
#openclaw approvals allowlist add *
|
| 218 |
|
|
|
|
| 236 |
#cd clawpanel & npm run dev &
|
| 237 |
#wait -n
|
| 238 |
|
| 239 |
+
#openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 240 |
+
cd clawpanel
|
| 241 |
+
npm run preview -- --host 0.0.0.0 --port 1420
|
| 242 |
+
#wait -n
|
| 243 |
EOF
|
| 244 |
|
| 245 |
RUN chmod +x /usr/local/bin/start-openclaw
|