dockerfile

Added functionality to run the script/application in a docker container.
master
Travis 2018-05-22 12:25:34 -05:00 committed by GitHub
parent a1e1daa11e
commit c1f5d46ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
dockerfile Normal file
View File

@ -0,0 +1,18 @@
#build it:
#docker build -t domainhunter:1.0 .
#run it:
#docker run -it domainhunter:1.0 [args]
FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install python3-pip -y\
&& apt-get install tesseract-ocr -y\
&& apt-get install python3-pil -y
ADD domainhunter.py /
ADD requirements.txt /
RUN pip3 install -r requirements.txt
ENTRYPOINT [ "python3", "./domainhunter.py" ]