Upgrade pip before installing python packages.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user