joeshen commited on
Commit
f6a2f8a
·
verified ·
1 Parent(s): b7aa544

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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