← Back to catalog
skill ✓ Verified

Dockerfile Best Practices

Write small, fast, secure images — multi-stage builds, layer caching, non-root users, pinned versions. Use when writing/reviewing a Dockerfile or debugging bloated builds.

npx @aiskillet/cli add dockerfile-best-practices --target claude-code

Install once: npm i -g @aiskillet/cli — then it works in whatever tool you use. The same skill, compiled to each target's native format.

Author
@aiskillet
Source
aiskillet/cookbook/tree/main/skills/dockerfile-best-practices
Targets
claude-code
License
MIT
Tags
devops, docker, containers