From c1f5d46ca9c4ef8ee254138d39275492823863ca Mon Sep 17 00:00:00 2001 From: Travis <11297343+yogisec@users.noreply.github.com> Date: Tue, 22 May 2018 12:25:34 -0500 Subject: [PATCH] dockerfile Added functionality to run the script/application in a docker container. --- dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..43f1df8 --- /dev/null +++ b/dockerfile @@ -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" ]