mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2024-12-09 09:30:19 +08:00
fix: make env PROXY_URL avaliable in Docker container.
This commit is contained in:
parent
38664487a0
commit
bf3bc3c7e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user