Static Sites with Python, uv, Caddy, and Docker: A Streamlined Workflow

2025-08-24
Static Sites with Python, uv, Caddy, and Docker: A Streamlined Workflow

This post details a streamlined workflow for building and deploying static websites using Python, uv, Caddy, and Docker. The author showcases a Dockerfile leveraging uv for Python dependency management and Caddy for serving the static files. A detailed Caddyfile configuration is provided, demonstrating handling multiple domains, custom error pages, and content type specification. The author highlights the efficiency of this stack and expresses plans for future simplification.