Skip to content

Commit 38871fb

Browse files
committed
Add --no-cache-dir to a couple more pip commands in the Dockerfile
1 parent 443f61a commit 38871fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ RUN dnf install -y make unzip python3.11 python3.11-pip gcc openssl-devel gcc-c+
133133
ln -fs /usr/bin/python3.11 /usr/bin/python3 && \
134134
ln -s /usr/bin/python3.11 /usr/local/bin/python && ln -s /usr/bin/pip3.11 /usr/local/bin/pip
135135

136-
RUN pip install --upgrade pip && pip install pytest && pip install pytest-asyncio
136+
RUN pip install --upgrade pip --no-cache-dir && pip install pytest --no-cache-dir && pip install pytest-asyncio --no-cache-dir
137137

138138
# CPU only
139139
ENV CUDA_VISIBLE_DEVICES=""

0 commit comments

Comments
 (0)