1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-06-30 14:40:10 +02:00

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:
Peter Dave Hello 2024-01-04 20:56:24 +08:00
parent 846ebe6dda
commit ecb62e0c94

View File

@ -34,7 +34,7 @@ apt-get update && \
unpaper && \
rm -rf /var/lib/apt/lists/* && \
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 pillow==10.0.1 reportlab==3.6.13 wheel==0.38.1 setuptools==65.5.1 pyjwt==2.4.0 cryptography==39.0.1