docker: pip install -U
This commit is contained in:
@@ -19,7 +19,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libsm6 \
|
libsm6 \
|
||||||
python3-opencv \
|
python3-opencv \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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
|
&& if [ "$RUN_TESTS" = "true" ]; then /extract/run_pytest.sh; else echo "Not running tests..."; fi
|
||||||
|
|
||||||
WORKDIR /files
|
WORKDIR /files
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ RUN apk add --no-cache \
|
|||||||
zlib-dev \
|
zlib-dev \
|
||||||
jpeg-dev \
|
jpeg-dev \
|
||||||
; fi \
|
; fi \
|
||||||
&& pip install --no-cache-dir \
|
&& pip install --no-cache-dir -U \
|
||||||
protobuf \
|
protobuf \
|
||||||
qrcode \
|
qrcode \
|
||||||
Pillow \
|
Pillow \
|
||||||
|
|||||||
Reference in New Issue
Block a user