* cache pip requirements in dockerfile
* import blacklist into core + began work on blacklist command * work on blacklist module * modified dockerignore
This commit is contained in:
parent
1e37684163
commit
12d39393b4
6 changed files with 50 additions and 15 deletions
15
Dockerfile
15
Dockerfile
|
@ -6,16 +6,17 @@ ENV HOME /root
|
|||
#Install needed packages
|
||||
RUN apt update && apt install -y python3 python3-dev python3-pip tor
|
||||
|
||||
#Add Onionr source
|
||||
COPY . /root
|
||||
VOLUME /root/data
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
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 (! ${ENABLE_TOR} || tor&) && python zeronet.py --ui_ip 0.0.0.0 --fileserver_port 26552
|
||||
CMD bash
|
||||
|
||||
#Expose ports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue