Scans your project and generates an optimized multi-stage Dockerfile
npm install ai-dockerfileWriting Dockerfiles is tedious. This tool scans your project and generates an optimized multi-stage Dockerfile that actually makes sense.
``bash`
npm install -g ai-dockerfile
`bashGenerate a Dockerfile
npx ai-dockerfile
What it does
Looks at your project structure, figures out the runtime, framework, and build steps, then generates a proper multi-stage Dockerfile. It handles Node.js, Python, Go, Rust, and more.
Requirements
Set your
OPENAI_API_KEY environment variable.`bash
export OPENAI_API_KEY=sk-...
``MIT