working tor
This commit is contained in:
1 parent
1ced0d8b24
commit
b9a432b356
5 files changed
+234
-8
No files matched your search
@@ -0,0 +1,18 @@
|
||||
FROM debian:12-slim
|
||||
|
||||
RUN adduser --disabled-password --gecos "" tor
|
||||
|
||||
RUN apt update && apt install -y tor curl
|
||||
|
||||
COPY hidden_service /hidden_service
|
||||
COPY torrc /etc/tor/torrc
|
||||
|
||||
RUN chown -R tor /etc/tor
|
||||
RUN chown -R tor /hidden_service
|
||||
RUN chmod -R go-rwx /etc/tor
|
||||
RUN chmod -R go-rwx /hidden_service
|
||||
|
||||
USER tor
|
||||
|
||||
ENTRYPOINT ["tor"]
|
||||
|
||||
Reference in new issue
Block a user