diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d68f7ca --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:edge + + +RUN apk --update add --no-cache python3 py3-requests py3-pip openssl ca-certificates +RUN apk --update add --virtual build-dependencies python3-dev build-base wget git \ + && git clone https://github.com/maldevel/EmailHarvester.git +WORKDIR EmailHarvester + +#COPY requirements.txt . +RUN pip3 install -r requirements.txt +ENTRYPOINT ["python3", "EmailHarvester.py"] +CMD ["-h"] \ No newline at end of file diff --git a/README.md b/README.md index 272d1ee..7106abd 100644 --- a/README.md +++ b/README.md @@ -99,4 +99,12 @@ Examples **Proxy Server** * ./EmailHarvester.py -d example.com -e all -x http://127.0.0.1:8080 - +Docker +===== +Alpine based Dockerfile +```bash +git clone https://github.com/maldevel/EmailHarvester +cd EmailHarvester +docker build -t EmailHarvester . +docker run -it EmailHarvester -d example.com +``` \ No newline at end of file