Prajith04 commited on
Commit
080fdb7
·
verified ·
1 Parent(s): ff8c48f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -30,4 +30,4 @@ ENV OPENCLAW_GATEWAY_CUSTOM_BIND_HOST=0.0.0.0
30
  # Explicitly disable auth mode via ENV as well to be safe
31
  ENV OPENCLAW_GATEWAY_AUTH_MODE=none
32
  # Start OpenClaw and FORCE it to listen to the outside world
33
- CMD ["openclaw", "gateway", "run", "--allow-unconfigured"]
 
30
  # Explicitly disable auth mode via ENV as well to be safe
31
  ENV OPENCLAW_GATEWAY_AUTH_MODE=none
32
  # Start OpenClaw and FORCE it to listen to the outside world
33
+ CMD ["sh", "-c", "mkdir -p /home/node/.openclaw && printf '{gateway:{bind:\"custom\",customBindHost:\"0.0.0.0\",port:7860,auth:\"none\"}}' > /home/node/.openclaw/config.json5 && openclaw gateway run --allow-unconfigured"]