Get the latest tech news

Production-ready Docker Containers with uv


Starting with 0.3.0, Astral’s uv brought many great features, including support for cross-platform lock files uv.lock. Together with subsequent fixes, it has become Python’s finest workflow tool for my (non-scientific) use cases. Here’s how I build production-ready containers, as fast as possible.

Starting with 0.3.0, Astral’s uv brought many great features, including support for cross-platform lock files uv.lock. While I wouldn’t use uWSGI in production anymore as it’s a largely dormant pile of C that has been declared to be in “maintenance mode” by its maintainers, I’ll use it here because it adds build complexities in the form of extra dependencies that you’re likely to encounter in real life, too: This should mean a much faster build when only the source code changes, but I haven’t found significant-enough improvements in a typical web application – where all of/all is significantly under 100 MB – to justify making the example more complex.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Production

Production

Related news:

News photo

The Production and Reproduction of Sound by Light (1880)

News photo

Hyundai’s electrified N Vision 74 is headed for production someday soon

News photo

CD Projekt says The Witcher 4 will enter full production "soon"