Spaces:
Running
Running
TomatoFull
commited on
Commit
•
57fc191
1
Parent(s):
ae16eb2
Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ubuntu:latest
|
2 |
+
|
3 |
+
#ENV DEBIAN_FRONTEND=noninteractive
|
4 |
+
|
5 |
+
RUN apt-get update && apt-get install -y \
|
6 |
+
privoxy \
|
7 |
+
&& apt-get clean
|
8 |
+
|
9 |
+
RUN sed -i 's/^listen-address.*/listen-address 0.0.0.0:7860/' /etc/privoxy/config \
|
10 |
+
&& sed -i 's/^logfile.*/logfile \/dev\/stdout/' /etc/privoxy/config \
|
11 |
+
&& sed -i 's/^debug.*/debug 1/' /etc/privoxy/config
|
12 |
+
CMD ["privoxy", "/etc/privoxy/config"]
|