mirror of
https://github.com/laramies/theHarvester.git
synced 2024-11-10 17:13:07 +08:00
16 lines
682 B
Docker
16 lines
682 B
Docker
FROM alpine: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 --no-cache musl-dev git libffi-dev gcc python3-dev py3-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
|