Add Dockerfile changes from #674 and add my own change in as well

This commit is contained in:
L1ghtn1ng 2021-02-13 05:22:55 +00:00
parent 6c16878f55
commit 249d38e26d

View file

@ -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"]