Unverified Commit 3fd3ce4c authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

Dockerfile: Use pip dependency resolver

Now that pip has a real dependency resolver, use it to install ALL pip dependencies in a single Docker layer.
* https://pip.pypa.io/en/stable/topics/dependency-resolution
* https://docs.docker.com/storage/storagedriver/#images-and-layers
parent ca2f8d67
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -11,10 +11,7 @@ WORKDIR /root/hackingtool
COPY . .

RUN true && \
pip3 install -r requirements.txt;

RUN true && \
pip3 install lolcat boxes flask requests;
pip3 install boxes flask lolcat requests -r requirements.txt;

RUN true && \
 echo "/root/hackingtool/" > /home/hackingtoolpath.txt;