From 10b90f73e5419724b551be8b6f627b180227cec7 Mon Sep 17 00:00:00 2001 From: Alex-Welsh Date: Thu, 10 Apr 2025 13:33:42 +0100 Subject: [PATCH] Update pip and setuptools in docker builds --- web-apps/chat/Dockerfile | 2 ++ web-apps/flux-image-gen/Dockerfile | 2 ++ web-apps/image-analysis/Dockerfile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/web-apps/chat/Dockerfile b/web-apps/chat/Dockerfile index c963b29..c5cce3b 100644 --- a/web-apps/chat/Dockerfile +++ b/web-apps/chat/Dockerfile @@ -4,6 +4,8 @@ ARG DIR=chat COPY $DIR/requirements.txt requirements.txt COPY utils utils +RUN pip install --no-cache-dir --upgrade pip +RUN pip install --no-cache-dir --upgrade setuptools RUN pip install --no-cache-dir -r requirements.txt COPY purge-google-fonts.sh purge-google-fonts.sh diff --git a/web-apps/flux-image-gen/Dockerfile b/web-apps/flux-image-gen/Dockerfile index ba48dbe..b024a19 100644 --- a/web-apps/flux-image-gen/Dockerfile +++ b/web-apps/flux-image-gen/Dockerfile @@ -7,6 +7,8 @@ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y ARG DIR=flux-image-gen COPY $DIR/requirements.txt requirements.txt +RUN pip install --no-cache-dir --upgrade pip +RUN pip install --no-cache-dir --upgrade setuptools RUN pip install --no-cache-dir -r requirements.txt COPY purge-google-fonts.sh . diff --git a/web-apps/image-analysis/Dockerfile b/web-apps/image-analysis/Dockerfile index 5f858f8..ac28961 100644 --- a/web-apps/image-analysis/Dockerfile +++ b/web-apps/image-analysis/Dockerfile @@ -4,6 +4,8 @@ ARG DIR=image-analysis COPY $DIR/requirements.txt requirements.txt COPY utils utils +RUN pip install --no-cache-dir --upgrade pip +RUN pip install --no-cache-dir --upgrade setuptools RUN pip install --no-cache-dir -r requirements.txt COPY purge-google-fonts.sh purge-google-fonts.sh