mirror of
https://github.com/cmehay/docker-tor-hidden-service
synced 2024-11-18 09:25:54 +00:00
23 lines
482 B
Docker
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"]
|