Prajith04 commited on
Commit
006c2a9
·
verified ·
1 Parent(s): e7dbeb3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -23,4 +23,4 @@ ENV OPENCLAW_GATEWAY_TOKEN=openclaw-api
23
  EXPOSE 7860
24
 
25
  # Write config and start OpenClaw
26
- CMD ["sh", "-c", "mkdir -p /home/node/.openclaw && echo '{\"gateway\":{\"bind\":\"custom\",\"customBindHost\":\"0.0.0.0\",\"port\":7860,\"trustedProxies\":[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\"],\"controlUi\":{\"dangerouslyAllowHostHeaderOriginFallback\":true,\"dangerouslyDisableDeviceAuth\":true}}}' > /home/node/.openclaw/openclaw.json && echo 'y' | openclaw doctor --generate-gateway-token && openclaw gateway run --allow-unconfigured"]
 
23
  EXPOSE 7860
24
 
25
  # Write config and start OpenClaw
26
+ CMD ["sh", "-c", "mkdir -p /home/node/.openclaw && echo '{\"gateway\":{\"mode\":\"local\",\"bind\":\"custom\",\"customBindHost\":\"0.0.0.0\",\"port\":7860,\"trustedProxies\":[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\"],\"controlUi\":{\"dangerouslyAllowHostHeaderOriginFallback\":true}}}' > /home/node/.openclaw/openclaw.json && openclaw doctor --generate-gateway-token && openclaw gateway run --allow-unconfigured"]