Skip to content

Commit

Permalink
Merge pull request #24 from darneymartin/feature/docker-support
Browse files Browse the repository at this point in the history
Add Docker Support
  • Loading branch information
m8sec authored Jun 21, 2023
2 parents f6e0a4c + 1ce7770 commit 76adfd7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Dockerfile for m8sec/subscraper

FROM python:3

LABEL org.label-schema.name="subscraper" \
org.label-schema.description="Subdomain Enumeration Tool" \
org.label-schema.vcs-url="https://github.com/m8sec/subscraper"

COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENTRYPOINT ["python","/app/subscraper.py"]
CMD ["--help"]
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ cd subscraper
python3 setup.py install
```

## Docker
You can build a docker image and run subscraper from Docker:
```
git clone https://github.com/m8sec/subscraper.git
cd subscraper
docker build -t m8sec/subscraper .
# display help
docker run --rm m8sec/subscraper
# example scanning a site
docker run --rm m8sec/subscraper example.com
```


## Usage
#### Command Line Args
```
Expand Down

0 comments on commit 76adfd7

Please sign in to comment.