Merge pull request #4771 from yangxiang92/main
fix: make env PROXY_URL avaliable in Docker container.
This commit is contained in:
commit
da2e2372aa
|
@ -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 --host 0.0.0.0"; \
|
proxychains -f $conf node server.js --host 0.0.0.0; \
|
||||||
else \
|
else \
|
||||||
node server.js; \
|
node server.js; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue