Analyze a project and generate a complete, production-grade Docker setup: multi-stage Dockerfile, Docker Compose for development and production, .dockerignore, and a security audit of the result.
| Nothing | generate | Create everything from scratch with interactive setup | | Only local Docker (no production files) | enhance | Audit & improve local, then create production config | | Full Docker setup (local + prod) | audit | Audit everything against checklist, fix gaps |
Store project context for later steps. If absent, Step 2 detects everything.
Analyze project and generate Docker configuration: Dockerfile (multi-stage dev/prod), compose.yml, compose.override.yml (dev), compose.production.yml (hardened), and .dockerignore. Includes production security audit. Use when user says "dockerize", "add docker", "docker compose", "containerize", or "setup docker". Source: lee-to/ai-factory.