SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Reviesed Docker File To Dockerize curent directory
Immanuel Georgeb4aac5ae06b2
diff --git a/Dockerfile b/Dockerfileindex ac5fb314..56b1e47d 100644--- a/Dockerfile+++ b/Dockerfile@@ -7,6 +7,7 @@# Updated by: Chandrapal <[email protected]># Updated by: Steve Micallef <[email protected]># -> Inspired by https://github.com/combro2k/dockerfiles/tree/master/alpine-spiderfoot+# Updated by: Immanuel George <[email protected]>## Usage:#@@ -15,8 +16,12 @@# Pull the base image.FROM alpine:latest+WORKDIR /home/spiderfoot+COPY . .ENV SPIDERFOOT_VERSION 3.0.0-COPY requirements.txt .+#COPY requirements.txt .++# Run everything as one command so that only one layer is createdRUN apk --update add --no-cache --virtual build-dependencies gcc git curl py2-pip swig \@@ -27,21 +32,16 @@ RUN apk --update add --no-cache --virtual build-dependencies gcc git curl py2-pi&& addgroup spiderfoot \&& adduser -G spiderfoot -h /home/spiderfoot -s /sbin/nologin \-g "SpiderFoot User" -D spiderfoot \- && rmdir /home/spiderfoot \&& cd /home \- && curl -sSL https://github.com/smicallef/spiderfoot/archive/v$SPIDERFOOT_VERSION-final.tar.gz \- | tar -v -C /home -xz \- && mv /home/spiderfoot-$SPIDERFOOT_VERSION-final /home/spiderfoot \&& chown -R spiderfoot:spiderfoot /home/spiderfoot \&& apk del --purge build-dependencies \&& rm -rf /var/cache/apk/* \&& rm -rf /root/.cacheUSER spiderfoot-WORKDIR /home/spiderfoot+EXPOSE 5001# Run the application.-ENTRYPOINT ["/usr/bin/python"]-CMD ["./sf.py", "0.0.0.0:5001"]+CMD ["/usr/bin/python", "./sf.py", "0.0.0.0:5001"]