Quellcode durchsuchen

fix: #676 docker override old proxy files

Yidadaa vor 1 Jahr
Ursprung
Commit
8df8ee8936
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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; \