monero.fail/Dockerfile-torsocks

16 lines
245 B
Plaintext
Raw Normal View History

2020-10-24 06:55:34 +01:00
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 conf/torrc /etc/tor/torrc
USER debian-tor
EXPOSE 9050
ENTRYPOINT ["tor"]