Update Dockerfile
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
|
@@ -244,8 +244,16 @@ echo "Starting ClawPanel/OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
|
| 244 |
#wait -n
|
| 245 |
|
| 246 |
#openclaw gateway run --port ${OPENCLAW_PORT} &
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420 &
|
| 248 |
-
cd .. && openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 249 |
wait -n
|
| 250 |
EOF
|
| 251 |
|
|
|
|
| 244 |
#wait -n
|
| 245 |
|
| 246 |
#openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 247 |
+
#cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420 &
|
| 248 |
+
#cd .. && openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 249 |
+
# 1️⃣ 启动 OpenClaw gateway
|
| 250 |
+
openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 251 |
+
|
| 252 |
+
# 2️⃣ 等几秒让 gateway 初始化
|
| 253 |
+
sleep 30
|
| 254 |
+
|
| 255 |
+
# 3️⃣ 启动 clawpanel
|
| 256 |
cd clawpanel && npm run preview -- --host 0.0.0.0 --port 1420 &
|
|
|
|
| 257 |
wait -n
|
| 258 |
EOF
|
| 259 |
|