Added Alpine based dockerfile + updated README

This commit is contained in:
ktx 2018-01-04 19:04:43 +01:00
parent 11b82ea1b4
commit 57d2b0f5f2
2 changed files with 21 additions and 1 deletions

12
Dockerfile Normal file
View file

@ -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"]

View file

@ -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
```