Dockerfile: Add pip --no-cache-dir
This commit is contained in:
parent
7991faf55e
commit
93af9c8621
@ -1,9 +1,9 @@
|
||||
FROM ubuntu:22.04
|
||||
ADD packages.txt packages.txt
|
||||
RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y $(cat packages.txt)
|
||||
RUN pip3 install torch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0
|
||||
RUN pip3 install --no-cache-dir torch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0
|
||||
ADD requirements.txt requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
ADD detection /emblem/detection
|
||||
ADD alg /emblem/alg
|
||||
ADD api /emblem/api
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user