From 36b7dd9d7316ba06f364f66531f925ddc782dc9a Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Wed, 3 Mar 2021 15:15:47 +0100 Subject: [PATCH] Fix: [Docker] update pip to latest when building image --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28d8a595..ecbfc407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,8 @@ WORKDIR /source/ COPY . /source/ -RUN pip --no-cache-dir install -r requirements.txt +RUN pip --no-cache-dir install -U pip \ + && pip --no-cache-dir install -r requirements.txt # Validate that what was installed was what was expected RUN pip freeze 2>/dev/null > requirements.installed \