2023-05-30 07:24:18 +08:00
|
|
|
FROM alpine:3.18.0
|
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
|
2023-04-11 03:27:38 +08:00
|
|
|
RUN mkdir /etc/theHarvester/
|
|
|
|
COPY api-keys.yaml /etc/theHarvester/
|
|
|
|
COPY proxies.yaml /etc/theHarvester/
|
2018-11-15 07:25:59 +08:00
|
|
|
WORKDIR /app
|
2022-11-26 21:28:06 +08:00
|
|
|
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
|
|
|
|
2022-11-26 21:28:06 +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"]
|
2022-02-13 07:14:20 +08:00
|
|
|
ENTRYPOINT ["/app/restfulHarvest.py", "-H", "0.0.0.0", "-p", "80"]
|
2021-06-29 04:37:47 +08:00
|
|
|
EXPOSE 80
|