2021-10-24 09:26:00 +08:00
|
|
|
FROM ubuntu:impish
|
2021-06-29 04:37:47 +08:00
|
|
|
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
|
2018-11-23 05:20:06 +08:00
|
|
|
RUN mkdir /app
|
2018-11-15 07:25:59 +08:00
|
|
|
WORKDIR /app
|
|
|
|
COPY . /app
|
2021-06-29 04:37:47 +08:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
2021-10-24 09:26:00 +08:00
|
|
|
RUN apt update && apt dist-upgrade -qy && apt install -qy python3 python3-pip libffi-dev libxml2-dev libxslt1-dev && /usr/bin/python3 -m pip install --upgrade pip && apt autoremove -qy
|
2021-06-29 04:37:47 +08:00
|
|
|
RUN /usr/bin/python3 --version && pip3 install --no-cache-dir -r requirements.txt && chmod +x ./*.py
|
2021-02-13 05:55:29 +08:00
|
|
|
ENTRYPOINT ["/app/theHarvester.py"]
|
2021-06-29 04:37:47 +08:00
|
|
|
ENTRYPOINT ["/app/restfulHarvest.py -H 0.0.0.0 -p 80"]
|
|
|
|
EXPOSE 80
|