mirror of
https://github.com/maldevel/EmailHarvester.git
synced 2024-09-20 06:55:57 +08:00
Added Alpine based dockerfile + updated README
This commit is contained in:
parent
11b82ea1b4
commit
57d2b0f5f2
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
10
README.md
10
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
|
||||
```
|
Loading…
Reference in a new issue