Upgrade pip before installing python packages.

This commit is contained in:
2025-03-30 17:02:11 +03:00
parent 114ddaeaf5
commit c75b60456e

View File

@@ -20,6 +20,7 @@ RUN mkdir files/
COPY files/requirements.txt files/requirements.txt COPY files/requirements.txt files/requirements.txt
RUN sleep 5 RUN sleep 5
# Install Python dependencies # Install Python dependencies
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r files/requirements.txt RUN pip install --no-cache-dir -r files/requirements.txt
# Expose port 8080 for the FastAPI application # Expose port 8080 for the FastAPI application