fix: make env PROXY_URL avaliable in Docker container.

This commit is contained in:
xiang.yang 2024-05-24 17:49:25 +08:00
parent 38664487a0
commit bf3bc3c7e9

View File

@ -58,7 +58,7 @@ CMD if [ -n "$PROXY_URL" ]; then \
echo "[ProxyList]" >> $conf; \
echo "$protocol $host $port" >> $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 \
node server.js; \
fi