Skip to content

Commit

Permalink
Apply --no-cache-dir to pip upgrade in DockerfileBase
Browse files Browse the repository at this point in the history
Aligned pip upgrade command with others by adding the `--no-cache-dir`
flag to reduce image layer size.
  • Loading branch information
PeterDaveHello committed Jan 4, 2024
1 parent 846ebe6 commit ecb62e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DockerfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ecb62e0

Please sign in to comment.