A comprehensive guide to building and deploying Python-generated static sites using uv for dependency management, Docker multi-stage builds, and Caddy as the web server. The setup involves creating a Dockerfile that uses uv to install Python and build the site, then copies the output to a lightweight Caddy container for serving. The configuration includes examples of Caddyfile setup for multiple domains, analytics proxying, custom error pages, and redirects.

Sort: