Преглед изворни кода

Merge pull request #4689 from ReeseWang/main

Dockerfile: Listen to any addresses instead of localhost, fixes #4682
fred-bf пре 1 година
родитељ
комит
38664487a0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -58,7 +58,7 @@ CMD if [ -n "$PROXY_URL" ]; then \
     echo "[ProxyList]" >> $conf; \
     echo "[ProxyList]" >> $conf; \
     echo "$protocol $host $port" >> $conf; \
     echo "$protocol $host $port" >> $conf; \
     cat /etc/proxychains.conf; \
     cat /etc/proxychains.conf; \
-    proxychains -f $conf node server.js; \
+    proxychains -f $conf "node server.js --host 0.0.0.0"; \
     else \
     else \
     node server.js; \
     node server.js; \
     fi
     fi