
from claude-spellbook95
Production-ready Dockerfile and Compose patterns for Python (FastAPI/uv) and Node.js (Next.js), focused on multi-stage builds, caching, health checks, secrets,
Provides practical, production-ready Docker patterns and guidance for Python (FastAPI/uv) and Node.js (Next.js) projects. The skill walks through multi-stage Dockerfiles, layer-caching best practices, .dockerignore recommendations, Compose service configuration, health checks, environment/secret handling, and image-size reduction techniques. It includes concrete example Dockerfiles, Compose snippets, common commands, debugging tips, and a checklist for safe, cache-friendly container builds.
Use this skill when you need to: write or optimize Dockerfiles for smaller, secure images; configure Docker Compose networking, volumes, and health checks; pass secrets safely; debug containers that behave differently from local; or reduce image size for Python and Node.js apps. It is useful during CI build tuning, on-boarding new services, and production hardening.
Agents that run build/devops or container-focused assistance (CLI-capable assistants, GitHub Actions helpers, or DevOps-focused agent flows).
This skill has not been reviewed by our automated audit pipeline yet.