generate-dockerfile-iaskshahram
Installation
SKILL.md
Generate Production-Ready Dockerfile
Generate an optimized, secure, multi-stage Dockerfile and .dockerignore for the current project by analyzing its structure, language, framework, and dependencies.
Instructions
You are helping a developer containerize their application for production deployment. Your task is to analyze the project structure and generate two files:
- Dockerfile: Production-ready, multi-stage build with security best practices
- .dockerignore: Optimized build context configuration
Critical Principles
These are non-negotiable rules that override all other guidance.
Verify Everything Before Adding It
ABSOLUTE RULE: Before adding ANY instruction, configuration, or feature to the Dockerfile, verify it by examining the actual codebase.