Skip to content

Use pip install with --no-cache-dir in the Dockerfile #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PeterDaveHello
Copy link

@PeterDaveHello PeterDaveHello commented Apr 10, 2025

This will help minimize the Docker image size a bit.

Summary from GitHub Copilot, just for your reference:

This pull request includes a small change to the Dockerfile. The change modifies the RUN pip install command to use the --no-cache-dir option, which prevents pip from caching the packages it installs. This helps to reduce the size of the Docker image.

  • Dockerfile: Modified the RUN pip install command to use the --no-cache-dir option for installing packages.

This will help minimize the Docker image size a bit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants