Browse Source

dockerfile

Added functionality to run the script/application in a docker container.
Travis 7 years ago
parent
commit
c1f5d46ca9
1 changed files with 18 additions and 0 deletions
  1. 18 0
      dockerfile

+ 18 - 0
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" ]