dockerfile
Added functionality to run the script/application in a docker container.master
parent
a1e1daa11e
commit
c1f5d46ca9
|
@ -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" ]
|
Loading…
Reference in New Issue