Don't cache pip packages when building docker image (#131)

This commit is contained in:
Dan Watson 2022-12-06 11:49:50 -05:00 committed by GitHub
parent d4ddea0712
commit 3e313800fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ RUN apt-get update \
# Required to build lxml on arm64. # Required to build lxml on arm64.
libxslt1-dev \ libxslt1-dev \
zlib1g-dev \ zlib1g-dev \
&& python3 -m pip install --upgrade -r requirements.txt \ && python3 -m pip install --no-cache-dir --upgrade -r requirements.txt \
&& apt-get purge -y --auto-remove \ && apt-get purge -y --auto-remove \
gcc \ gcc \
libc6-dev \ libc6-dev \