From 77b7433a6f93b042e12d942c366801bb11a0b095 Mon Sep 17 00:00:00 2001 From: Battlefield Duck Date: Sun, 5 Nov 2023 05:15:02 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7cdc65c..8c5aab8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ RUN pip install virtualenv RUN python -m venv venv ENV PATH="/usr/src/app/venv/bin:$PATH" +# Upgrade pip in the virtual environment +RUN pip install --upgrade pip + # Install any needed packages specified in requirements.txt COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt