theHarvester/Dockerfile
L1ghtn1ng 8c6cd3042c Update Docker settings and shift to pipx for module installation
Changed the installation process to use `pipx` instead of `pip3` in the Dockerfile. The path setting for API keys and proxies in `docker-compose.yml` were also updated. Additionally, the name of the default network was altered to better reflect its use.
2023-12-18 16:34:06 +00:00

8 lines
428 B
Docker

FROM alpine:3
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
RUN apk update && apk upgrade --available && apk add --no-cache musl-dev git libffi-dev gcc python3-dev pipx libxml2-dev libxslt-dev bash
RUN mkdir -p "~/.local/share/theHarvester/static/"
RUN pipx install git+https://github.com/laramies/theHarvester.git
RUN pipx ensurepath
ENTRYPOINT ["/root/.local/bin/restfulHarvest", "-H", "0.0.0.0", "-p", "80"]
EXPOSE 80