mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-20 15:26:31 +08:00
Merge pull request #1230 from viardant/alpine
This commit is contained in:
commit
b36158ca16
10
Dockerfile
10
Dockerfile
|
@ -1,11 +1,11 @@
|
|||
FROM ubuntu:kinetic
|
||||
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
|
||||
FROM python:3-alpine
|
||||
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1 (alpine @viardant)"
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt update && apt dist-upgrade -qy && apt install -qy git python3 python3-pip libffi-dev libxml2-dev libxslt1-dev && /usr/bin/python3 -m pip install --upgrade pip && apt autoremove -qy
|
||||
RUN /usr/bin/python3 --version && pip3 install --no-cache-dir -r requirements.txt && chmod +x ./*.py
|
||||
RUN apk update && apk upgrade --available && apk add git libffi-dev libxml2-dev libxslt-dev && python3 -m pip install --upgrade pip
|
||||
|
||||
RUN python3 --version && pip3 install --no-cache-dir -r requirements.txt && chmod +x ./*.py
|
||||
ENTRYPOINT ["/app/theHarvester.py"]
|
||||
ENTRYPOINT ["/app/restfulHarvest.py", "-H", "0.0.0.0", "-p", "80"]
|
||||
EXPOSE 80
|
||||
|
|
Loading…
Reference in a new issue