Merge pull request #4771 from yangxiang92/main

fix: make env PROXY_URL avaliable in Docker container.
This commit is contained in:
DeanYao 2024-05-27 16:16:18 +08:00 committed by GitHub
commit da2e2372aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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