docker: pip install -U

This commit is contained in:
scito
2023-01-01 17:38:08 +01:00
parent a3bda6ff8e
commit 2c0cfd83ee
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,8 @@ RUN apt-get update && apt-get install -y \
libsm6 \
python3-opencv \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir -U -r \
requirements.txt \
&& if [ "$RUN_TESTS" = "true" ]; then /extract/run_pytest.sh; else echo "Not running tests..."; fi
WORKDIR /files

View File

@@ -26,7 +26,7 @@ RUN apk add --no-cache \
zlib-dev \
jpeg-dev \
; fi \
&& pip install --no-cache-dir \
&& pip install --no-cache-dir -U \
protobuf \
qrcode \
Pillow \