Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +15 -17
Dockerfile
CHANGED
@@ -5,23 +5,21 @@ FROM alpine:latest
|
|
5 |
RUN apk add --no-cache dante-server
|
6 |
|
7 |
# Create a simple configuration file for dante-server
|
8 |
-
RUN echo "
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
user.
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
}
|
24 |
-
" > /etc/sockd.conf
|
25 |
|
26 |
# Expose the SOCKS proxy port
|
27 |
EXPOSE 1080
|
|
|
5 |
RUN apk add --no-cache dante-server
|
6 |
|
7 |
# Create a simple configuration file for dante-server
|
8 |
+
RUN echo "logoutput: stderr\n\
|
9 |
+
internal: 0.0.0.0 port = 1080\n\
|
10 |
+
external: 0.0.0.0\n\
|
11 |
+
method: none\n\
|
12 |
+
clientmethod: none\n\
|
13 |
+
user.privileged: root\n\
|
14 |
+
user.notprivileged: nobody\n\
|
15 |
+
client pass {\n\
|
16 |
+
from: 0.0.0.0/0 to: 0.0.0.0/0\n\
|
17 |
+
log: connect disconnect error\n\
|
18 |
+
}\n\
|
19 |
+
socks pass {\n\
|
20 |
+
from: 0.0.0.0/0 to: 0.0.0.0/0\n\
|
21 |
+
log: connect disconnect error\n\
|
22 |
+
}" > /etc/sockd.conf
|
|
|
|
|
23 |
|
24 |
# Expose the SOCKS proxy port
|
25 |
EXPOSE 1080
|