Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#4771 from yangxiang92/main
Browse files Browse the repository at this point in the history
fix: make env PROXY_URL avaliable in Docker container.
  • Loading branch information
Dean-YZG authored May 27, 2024
2 parents 3866448 + bf3bc3c commit da2e237
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 da2e237

Please sign in to comment.