jBsjJkejsjJ8383Iwj / Dockerfile
TomatoFull's picture
Create Dockerfile
4cdd507 verified
raw
history blame contribute delete
477 Bytes
FROM ubuntu:latest
RUN apt update && apt upgrade -y && apt install -y privoxy
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
CMD ["privoxy", "--no-daemon", "/etc/privoxy/config"]