bla commited on
Commit
0a0921d
·
verified ·
1 Parent(s): 6554d71

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +12 -0
dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the dperson/socks-proxy image as the base
2
+ FROM dperson/socks-proxy:latest
3
+
4
+ # Set environment variables (optional)
5
+ ENV SOCKS_PORT=1080
6
+
7
+ # Expose the SOCKS proxy port
8
+ EXPOSE ${SOCKS_PORT}
9
+
10
+ # Start the SOCKS proxy without authentication
11
+ ENTRYPOINT ["/usr/local/bin/sockd"]
12
+ CMD ["-N"]