From 0e140561959640db30427bfb7a864e6d272a2a91 Mon Sep 17 00:00:00 2001 From: stranske Date: Mon, 1 Sep 2025 23:10:45 -0500 Subject: [PATCH] chore: ensure build tools available in Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b6ac7fa35..521c036feb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,11 @@ WORKDIR /app # Copy requirements first for better Docker layer caching COPY requirements.txt pyproject.toml ./ +# Ensure build tools are available +RUN pip install --no-cache-dir --upgrade pip setuptools wheel + # Install Python dependencies with retry logic for network issues -RUN pip install --no-cache-dir --upgrade pip \ - && pip install --no-cache-dir --timeout=300 --retries=3 -r requirements.txt \ +RUN pip install --no-cache-dir --timeout=300 --retries=3 -r requirements.txt \ && pip install --no-cache-dir pytest # Copy source code and essential files