theHarvester/Dockerfile

18 lines
667 B
Text
Raw Normal View History

FROM alpine:3.17.3
2022-10-18 01:23:25 +08:00
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1 (alpine @viardant)"
2018-11-23 05:20:06 +08:00
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
2022-11-25 07:01:42 +08:00
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
2022-10-18 01:23:25 +08:00
RUN python3 --version && pip3 install --no-cache-dir -r requirements.txt
COPY . /app
RUN chmod +x ./*.py
2021-02-13 05:55:29 +08:00
ENTRYPOINT ["/app/theHarvester.py"]
ENTRYPOINT ["/app/restfulHarvest.py", "-H", "0.0.0.0", "-p", "80"]
EXPOSE 80