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 Feb 2, 2021
1 parent ae73fb3 commit a959b62
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 @@ -22,7 +22,8 @@ COPY requirements.txt \
# Needed for Sentry to know what version we are running
RUN echo "${BUILD_VERSION}" > /code/.version

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 a959b62

Please sign in to comment.