You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
257 B
Plaintext
16 lines
257 B
Plaintext
5 days ago
|
FROM ubuntu:20.04
|
||
|
|
||
|
RUN apt-get update && apt-get install tor -y
|
||
|
|
||
|
RUN mkdir -p /run/tor \
|
||
|
&& chown -R debian-tor:debian-tor /run/tor \
|
||
|
&& chmod 700 -R /run/tor
|
||
|
|
||
|
COPY dockerfiles/tor-config /etc/tor/torrc
|
||
|
|
||
|
USER debian-tor
|
||
|
|
||
|
EXPOSE 9050
|
||
|
|
||
|
ENTRYPOINT ["tor"]
|