obheda12 / GitDorker

A Python program to scrape secrets from GitHub through usage of a large repository of dorks.
2.3k stars 419 forks source link

Docker added #17

Closed xShuden closed 4 years ago

tommy-muehle commented 4 years ago

@obheda12 Looks like that @xShuden was faster than I with this.

@xShuden I had a more leaner solution in mind:

FROM python:3.8-slim

COPY requirements.txt .
RUN pip install --user -r requirements.txt

WORKDIR /code

COPY ./GitDorker.py .
ENTRYPOINT [ "python", "GitDorker.py" ]

But feel free to use any solution you want.

xShuden commented 4 years ago

You did not add volume.