Month: September 2024
-
My (ideal) uv based Dockerfile
After switching to uv last week, I had to update my default Dockerfile, drawing insights from articles by Hynek and Michael on building production-ready containers with uv. My new setup uses a 4-stage Dockerfile, incorporating uv sync, multi-stage builds, and full support for my Django projects. While not perfect, it’s proving highly effective for a…
-
UV — I am (somewhat) sold
In this post, I talk about how my initial doubts about using UV for Python projects completely changed after giving it another shot. At first, I didn’t think the speed improvement was all that important, but once I saw how much UV could simplify managing different Python versions and tools, I realized I was wrong.…