Skip to content

Commit 747fca3

Browse files
authored
Optimize pip install commands in Dockerfile.dependencies
Removed redundant force-reinstall commands for numpy and dlib.
1 parent ac1684a commit 747fca3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile.dependencies

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ RUN mkdir -p ${PKGTMPDIR} && cd ${PKGTMPDIR} \
242242
&& python -m pip install pip --upgrade \
243243
&& python -m pip install cmake \
244244
&& python -m pip install jep==4.2.0 \
245+
&& python -m pip install numpy==1.26.4 \
246+
&& python -m pip install dlib==19.24.2 \
245247
&& python -m pip install face_recognition \
246248
opencv-python==4.11.0.86 \
247-
&& python -m pip install --force-reinstall numpy==1.26.4 \
248-
&& python -m pip install --force-reinstall dlib==19.24.2 \
249249
&& echo "#####################################" \
250250
&& echo "Cleaning UP the container " \
251251
&& echo "#####################################" \

0 commit comments

Comments
 (0)