Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
|
@@ -243,6 +243,14 @@ echo "Starting ClawPanel/OpenClaw gateway on port ${OPENCLAW_PORT}..."
|
|
| 243 |
|
| 244 |
#openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 245 |
#cd clawpanel && npm run preview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246 |
openclaw gateway run --port ${OPENCLAW_PORT}
|
| 247 |
EOF
|
| 248 |
|
|
|
|
| 243 |
|
| 244 |
#openclaw gateway run --port ${OPENCLAW_PORT} &
|
| 245 |
#cd clawpanel && npm run preview
|
| 246 |
+
(
|
| 247 |
+
cd clawpanel
|
| 248 |
+
npm run preview
|
| 249 |
+
) &
|
| 250 |
+
|
| 251 |
+
# -------------------------
|
| 252 |
+
# 2️⃣ 启动 OpenClaw gateway 前台运行
|
| 253 |
+
# 前台运行,成为 PID 1
|
| 254 |
openclaw gateway run --port ${OPENCLAW_PORT}
|
| 255 |
EOF
|
| 256 |
|