Made pip upgrade before copying requirements.txt in Dockerfile

This commit is contained in:
StNicolay 2022-11-18 16:38:25 +00:00
parent fd002e3718
commit e49f2e00eb

View File

@ -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