Analyze Dockerfile and suggest optimizations
- CLI tool
- TypeScript support
Runtime:
- TypeScript v5.9.3
- Node.js >= 18.0.0
- npm or yarn
cd docker-slim
npm installOr install globally:
npm install -g docker-slimdocker-slim| Script | Command |
|---|---|
npm run build |
tsc |
npm run start |
node dist/index.js |
├── src
│ ├── analyzer.ts
│ ├── formatter.ts
│ ├── index.ts
│ ├── parser.ts
│ ├── rules.ts
│ └── scorer.ts
├── package.json
├── README.md
└── tsconfig.json