TomatoFull commited on
Commit
4cdd507
1 Parent(s): 96b1876

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:latest
2
+
3
+ RUN apt update && apt upgrade -y && apt install -y privoxy
4
+
5
+ RUN printf "listen-address 0.0.0.0:7860\ntoggle 1\nenable-remote-toggle 0\nenable-remote-http-toggle 0\nenable-edit-actions 0\nenforce-blocks 0\nbuffer-limit 4096\naccept-intercepted-requests 1\nallow-cgi-request-crunching 0\nsplit-large-forms 0\nhandle-as-empty-doc-returns-ok 0\ndefault-server-timeout 5\n" > /etc/privoxy/config
6
+
7
+ CMD ["privoxy", "--no-daemon", "/etc/privoxy/config"]