12d39393b4
* import blacklist into core + began work on blacklist command * work on blacklist module * modified dockerignore
24 lines
369 B
Docker
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
|