🐳 Upgrade pip before using pip

This commit is contained in:
Gerber, Mike 2020-05-15 13:14:24 +02:00
parent 2e8ea7040a
commit 5ceacc4cc8

View file

@ -3,7 +3,8 @@ RUN apt-get update &&\
apt-get install -y python3 python3-pip &&\
apt-get clean && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /tmp
RUN pip3 install -r /tmp/requirements.txt
RUN pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r /tmp/requirements.txt
COPY test-nvidia /usr/bin