Apply --no-cache-dir
to pip upgrade in DockerfileBase
Aligned pip upgrade command with others by adding the `--no-cache-dir` flag to reduce image layer size.
This commit is contained in:
parent
846ebe6dda
commit
ecb62e0c94
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ apt-get update && \
|
||||||
unpaper && \
|
unpaper && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
mv /usr/share/tesseract-ocr /usr/share/tesseract-ocr-original && \
|
mv /usr/share/tesseract-ocr /usr/share/tesseract-ocr-original && \
|
||||||
pip install --upgrade pip && \
|
pip install --no-cache-dir --upgrade pip && \
|
||||||
pip install --no-cache-dir --upgrade ocrmypdf && \
|
pip install --no-cache-dir --upgrade ocrmypdf && \
|
||||||
pip install --no-cache-dir --upgrade pillow==10.0.1 reportlab==3.6.13 wheel==0.38.1 setuptools==65.5.1 pyjwt==2.4.0 cryptography==39.0.1
|
pip install --no-cache-dir --upgrade pillow==10.0.1 reportlab==3.6.13 wheel==0.38.1 setuptools==65.5.1 pyjwt==2.4.0 cryptography==39.0.1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue