Skip to content

Commit

Permalink
Fix: [Docker] update pip to latest when building image
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain committed Mar 3, 2021
1 parent 72e0e78 commit 36b7dd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ WORKDIR /source/

COPY . /source/

RUN pip --no-cache-dir install -r requirements.txt
RUN pip --no-cache-dir install -U pip \
&& pip --no-cache-dir install -r requirements.txt

# Validate that what was installed was what was expected
RUN pip freeze 2>/dev/null > requirements.installed \
Expand Down

0 comments on commit 36b7dd9

Please sign in to comment.