theHarvester/Dockerfile
J.Townsend cd462b37f9
Multiple fixes (#1382)
* Fix api keys and proxies file in docker file and compose file

* update alpine version to 3.17.3

* flake8 fixes

* some mypy fixes

* Remove uneeded sublister ci test

* Remove another uneeded CI test and remove source files for uneeded modules
2023-04-10 20:27:38 +01:00

17 lines
667 B
Docker

FROM alpine:3.17.3
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1 (alpine @viardant)"
RUN mkdir /app
RUN mkdir /etc/theHarvester/
COPY api-keys.yaml /etc/theHarvester/
COPY proxies.yaml /etc/theHarvester/
WORKDIR /app
COPY requirements.txt requirements.txt
COPY requirements requirements
RUN apk update && apk upgrade --available && apk add git libffi-dev gcc python3-dev py-pip libxml2-dev libxslt-dev && python3 -m pip install --upgrade pip
RUN python3 --version && pip3 install --no-cache-dir -r requirements.txt
COPY . /app
RUN chmod +x ./*.py
ENTRYPOINT ["/app/theHarvester.py"]
ENTRYPOINT ["/app/restfulHarvest.py", "-H", "0.0.0.0", "-p", "80"]
EXPOSE 80