theHarvester/Dockerfile

10 lines
331 B
Docker

FROM python:alpine3.13
RUN mkdir /app
WORKDIR /app
COPY . /app
RUN apk add --no-cache build-base libffi-dev libxml2-dev libxslt-dev
RUN /usr/local/bin/python -m pip install --upgrade pip
RUN /usr/local/bin/python --version
RUN pip3 install --no-cache-dir -r requirements.txt
RUN chmod +x ./*.py
ENTRYPOINT ["/app/theHarvester.py"]