Skip to content

Commit 76adfd7

Browse files
authored
Merge pull request #24 from darneymartin/feature/docker-support
Add Docker Support
2 parents f6e0a4c + 1ce7770 commit 76adfd7

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Dockerfile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Dockerfile for m8sec/subscraper
2+
3+
FROM python:3
4+
5+
LABEL org.label-schema.name="subscraper" \
6+
org.label-schema.description="Subdomain Enumeration Tool" \
7+
org.label-schema.vcs-url="https://github.com/m8sec/subscraper"
8+
9+
COPY . /app
10+
WORKDIR /app
11+
RUN pip install -r requirements.txt
12+
ENTRYPOINT ["python","/app/subscraper.py"]
13+
CMD ["--help"]

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ cd subscraper
4545
python3 setup.py install
4646
```
4747

48+
## Docker
49+
You can build a docker image and run subscraper from Docker:
50+
```
51+
git clone https://github.com/m8sec/subscraper.git
52+
cd subscraper
53+
docker build -t m8sec/subscraper .
54+
# display help
55+
docker run --rm m8sec/subscraper
56+
# example scanning a site
57+
docker run --rm m8sec/subscraper example.com
58+
```
59+
60+
4861
## Usage
4962
#### Command Line Args
5063
```

0 commit comments

Comments
 (0)