triflix commited on
Commit
fb0b414
·
verified ·
1 Parent(s): 3996ff7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a lightweight base image
2
+ FROM ubuntu:22.04
3
+
4
+ # Install Tinyproxy
5
+ RUN apt-get update && \
6
+ apt-get install -y tinyproxy && \
7
+ apt-get clean
8
+
9
+ # Copy our custom configuration file
10
+ COPY tinyproxy.conf /etc/tinyproxy/tinyproxy.conf
11
+
12
+ # Expose the port Tinyproxy will listen on INSIDE the container
13
+ EXPOSE 8888
14
+
15
+ # Start Tinyproxy in the foreground (so the Docker container stays alive)
16
+ CMD ["tinyproxy", "-d"]