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 \