diff --git a/Dockerfile b/Dockerfile index a5d3088a0..3e04d13c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,7 +75,7 @@ EXPOSE 23000 EXPOSE 23001 ENV KEEP_ALIVE_TIMEOUT=30 -CMD if [ -n "$PROXY_URL" ]; then \ +CMD wget -qO- myip.ipip.net ; if [ -n "$PROXY_URL" ]; then \ export HOSTNAME="0.0.0.0"; \ protocol=$(echo $PROXY_URL | cut -d: -f1); \ host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \