From 249d38e26d9074c6e082e9b0ca4e5b03378ead80 Mon Sep 17 00:00:00 2001 From: L1ghtn1ng Date: Sat, 13 Feb 2021 05:22:55 +0000 Subject: [PATCH] Add Dockerfile changes from #674 and add my own change in as well --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52a7b613..0195cb6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM python:alpine3.13 RUN mkdir /app WORKDIR /app COPY . /app -RUN apk add --update build-base libffi-dev libxml2-dev libxslt-dev -RUN pip3 install -r requirements.txt -RUN chmod +x *.py +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"]