Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Upgrade pip to prevent issues with building Cryptography Python package (#1149)

Geert Smeltf108f737aff6
diff --git a/Dockerfile b/Dockerfile
index 39cd3d22..e0edbe14 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -40,6 +40,7 @@ ENV PATH="/opt/venv/bin":$PATH
COPY $REQUIREMENTS requirements.txt ./
RUN ls
RUN echo "$REQUIREMENTS"
+RUN pip3 install -U pip
RUN pip3 install -r "$REQUIREMENTS"
@@ -75,4 +76,4 @@ EXPOSE 5001
# Run the application.
ENTRYPOINT ["/opt/venv/bin/python"]
-CMD ["sf.py", "-l", "0.0.0.0:5001"]
\ No newline at end of file
+CMD ["sf.py", "-l", "0.0.0.0:5001"]