theHarvester/Dockerfile
L1ghtn1ng 0183b674e0 Update Dockerfile base image and installation commands
The base image in the Dockerfile has been updated to python:3.11-slim-bookworm from alpine:3 for a more tailored environment. The initial installation commands using apk have been replaced with apt commands. The apk commands were removed as they are not compatible with the new base image. This fixes compt issues with ujson
2024-03-17 23:15:34 +00:00

8 lines
379 B
Docker

FROM python:3.11-slim-bookworm
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
RUN mkdir -p "~/.local/share/theHarvester/static/"
RUN apt update && apt install -y pipx git; apt clean; apt autoremove -y
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