🐳 Upgrade pip before using pip
This commit is contained in:
parent
2e8ea7040a
commit
5ceacc4cc8
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue