- cp
Dockerfile
anddocker-entrypoint.sh
to top directory of tinyproxy - Build docker image with
Dockerfile
- Run container:
docker run --rm -d -p ${HostPort}:${ContainerPort} -e ALLOWIPS=${ALLOWIPs} -e PORT=${ContainerPort} --name tinyproxy tinyproxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q http://s3.amazonaws.com/alexa-static/top-1m.csv.zip;unzip top-1m.csv.zip; awk -F ',' '{print $2}' top-1m.csv|head -1000 > top-1000.txt; rm top-1m.csv* |