Fix: Bind to 0.0.0.0
Browse files- 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 --
|
| 22 |
-
CMD ["/bin/sh", "-c", "python3 -u /app/sync_memory.py & node dist/index.js gateway --port 7860 --allow-unconfigured"]
|
|
|
|
| 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"]
|