mirror of
https://github.com/cmehay/docker-tor-hidden-service
synced 2024-11-20 03:25:48 +00:00
21 lines
413 B
Docker
21 lines
413 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.2.1
|
|
|
|
ADD assets/entrypoint-config.yml /
|
|
ADD assets/display_onions.py /
|
|
ADD assets/torrc /etc/tor/torrc
|
|
|
|
VOLUME ["/var/lib/tor/hidden_service/"]
|
|
|
|
ENTRYPOINT ["pyentrypoint"]
|
|
|
|
CMD ["tor"]
|