Skip to content

Conversation

@orgads
Copy link

@orgads orgads commented Jan 10, 2024

Use system packages, which are typically smaller than pip.

Reduces image from 586M to 516M, at the cost of maintaining dual requirements (in requirements.txt and Dockerfile).

* Update Python to 3.11.
* Copy from the current directory instead of cloning.
* Employ cache.

This reduces the image from 1.1G to 586M.
Use system packages, which are typically smaller than pip.

Reduces image from 586M to 516M, at the cost of maintaining
dual requirements (in requirements.txt and Dockerfile).
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.

1 participant