From 2c0cfd83ee27aaf419db1a3240e235686d56b290 Mon Sep 17 00:00:00 2001 From: scito Date: Sun, 1 Jan 2023 17:38:08 +0100 Subject: [PATCH] docker: pip install -U --- Dockerfile | 3 ++- Dockerfile_only_txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0577d82..7baaf09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile_only_txt b/Dockerfile_only_txt index ea103e7..46b579f 100644 --- a/Dockerfile_only_txt +++ b/Dockerfile_only_txt @@ -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 \