Skip to content
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

Replaces poetry with uv for faster builds #42

Open
wants to merge 7 commits into
base: tesseract-python
Choose a base branch
from

Conversation

frabarz
Copy link
Contributor

@frabarz frabarz commented Sep 13, 2024

This PR updates the Dockerfile with suggestions from this article.
The main point is the replacement of poetry in favor of uv, a new package manager for python written in Rust, which literally installs dependencies in the blink of an eye. The whole process, including downloading base images, takes ~1m40s in my machine.
This also replaces the base image to use LTS versions of Ubuntu. This makes easier to debug issues and install dependencies, as there's more extended support from the community.

@frabarz frabarz requested review from nspmx and D2SD September 13, 2024 21:23
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.

4 participants