Jelajahi Sumber

fix: #676 docker override old proxy files

Yidadaa 1 tahun lalu
induk
melakukan
8df8ee8936
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -46,7 +46,7 @@ CMD if [ -n "$PROXY_URL" ]; then \
         host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
         port=$(echo $PROXY_URL | cut -d: -f3); \
         conf=/etc/proxychains.conf; \
-        echo "strict_chain" >> $conf; \
+        echo "strict_chain" > $conf; \
         echo "proxy_dns" >> $conf; \
         echo "remote_dns_subnet 224" >> $conf; \
         echo "tcp_read_time_out 15000" >> $conf; \