Private Decentralized Communication Network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
521 B

  1. FROM python
  2. #Base settings
  3. ENV HOME /root
  4. #Install needed packages
  5. RUN apt update && apt install -y tor locales
  6. RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
  7. locale-gen
  8. ENV LANG en_US.UTF-8
  9. ENV LANGUAGE en_US:en
  10. ENV LC_ALL en_US.UTF-8
  11. WORKDIR /srv/
  12. ADD ./requirements.txt /srv/requirements.txt
  13. RUN pip3 install --require-hashes -r requirements.txt
  14. WORKDIR /root/
  15. #Add Onionr source
  16. COPY . /root/
  17. VOLUME /root/data/
  18. #Set upstart command
  19. CMD bash
  20. #Expose ports
  21. EXPOSE 8080