You've already forked hackingtool
mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2025-06-20 06:15:54 +02:00
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
This commit is contained in:
@ -11,14 +11,11 @@ WORKDIR /root/hackingtool
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN true && \
|
RUN true && \
|
||||||
pip3 install -r requirements.txt;
|
pip3 install boxes flask lolcat requests -r requirements.txt;
|
||||||
|
|
||||||
RUN true && \
|
|
||||||
pip3 install lolcat boxes flask requests;
|
|
||||||
|
|
||||||
RUN true && \
|
RUN true && \
|
||||||
echo "/root/hackingtool/" > /home/hackingtoolpath.txt;
|
echo "/root/hackingtool/" > /home/hackingtoolpath.txt;
|
||||||
|
|
||||||
EXPOSE 1-65535
|
EXPOSE 1-65535
|
||||||
|
|
||||||
ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"]
|
ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"]
|
||||||
|
Reference in New Issue
Block a user