From c75b60456ec6decb79d08e877e63f77912b3ab5b Mon Sep 17 00:00:00 2001 From: abdulhade Date: Sun, 30 Mar 2025 17:02:11 +0300 Subject: [PATCH] Upgrade pip before installing python packages. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 04e84b5..4da119f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ RUN mkdir files/ COPY files/requirements.txt files/requirements.txt RUN sleep 5 # Install Python dependencies +RUN pip install --upgrade pip RUN pip install --no-cache-dir -r files/requirements.txt # Expose port 8080 for the FastAPI application