Spaces:
Build error
Build error
Create dockerfile
Browse files- 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"]
|