MaxSainz2000 commited on
Commit
a6fb580
·
verified ·
1 Parent(s): e95ee13

Fix: Use --bind lan instead of --host

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,5 +18,5 @@ COPY sync_memory.py /app/sync_memory.py
18
  ENTRYPOINT []
19
 
20
  # Launch sync script in background, then start Moltbot Gateway
21
- # Added --host 0.0.0.0 to ensure it binds to all interfaces (required for Docker)
22
- CMD ["/bin/sh", "-c", "python3 -u /app/sync_memory.py & node dist/index.js gateway --port 7860 --host 0.0.0.0 --allow-unconfigured"]
 
18
  ENTRYPOINT []
19
 
20
  # Launch sync script in background, then start Moltbot Gateway
21
+ # Use --bind lan to bind to 0.0.0.0 (required for Docker/HF Spaces)
22
+ CMD ["/bin/sh", "-c", "python3 -u /app/sync_memory.py & node dist/index.js gateway --port 7860 --bind lan --allow-unconfigured"]