Update Dockerfile
Browse files- 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 ["
|
|
|
|
| 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"]
|