Onionr/Dockerfile
Kevin Froman 12d39393b4
* cache pip requirements in dockerfile
* import blacklist into core
+ began work on blacklist command
* work on blacklist module
* modified dockerignore
2018-08-10 17:13:58 -05:00

24 lines
369 B
Docker

FROM ubuntu:xenial
#Base settings
ENV HOME /root
#Install needed packages
RUN apt update && apt install -y python3 python3-dev python3-pip tor
WORKDIR /srv/
ADD ./requirements.txt /srv/requirements.txt
RUN pip3 install -r requirements.txt
WORKDIR /root/
#Add Onionr source
COPY . /root/
VOLUME /root/data/
#Set upstart command
CMD bash
#Expose ports
EXPOSE 8080