Made pip upgrade before copying requirements.txt in Dockerfile
This commit is contained in:
parent
fd002e3718
commit
e49f2e00eb
@ -15,8 +15,8 @@ RUN adduser -u 1000 --disabled-password --gecos "" appuser && chown -R appuser /
|
||||
RUN apt update && apt full-upgrade -y
|
||||
|
||||
# Install pip requirements
|
||||
COPY requirements.txt .
|
||||
RUN pip install -U pip setuptools wheel
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /app
|
||||
|
Reference in New Issue
Block a user