docker-tor-hidden-service/Dockerfile
2016-09-23 03:27:33 +02:00

23 lines
482 B
Docker

FROM debian:jessie
ENV DEBIAN_FRONTEND=noninteractive
ENV HOME /var/lib/tor
RUN apt-get update && apt-get install --no-install-recommends -y \
tor \
python3-pip
RUN pip3 install pyentrypoint==0.3.8
ADD assets/entrypoint-config.yml /
ADD assets/onions /usr/local/src/onions
ADD assets/torrc /etc/tor/torrc
RUN cd /usr/local/src/onions && python3 setup.py install
VOLUME ["/var/lib/tor/hidden_service/"]
ENTRYPOINT ["pyentrypoint"]
CMD ["tor"]