🐳 Upgrade pip before using pip

master
Gerber, Mike 5 years ago
parent 2e8ea7040a
commit 5ceacc4cc8

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

Loading…
Cancel
Save