Skip to content

Commit

Permalink
fix: make env PROXY_URL avaliable in Docker container.
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn-mxi-ai committed May 24, 2024
1 parent 3866448 commit bf3bc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf3bc3c

Please sign in to comment.