Description
Reviews a Dockerfile for security and size issues (root user, latest tags, secrets) with concrete fixes ranked by impact.
Prompt
41 words
Review the Dockerfile for security and efficiency problems: running as root, :latest tags, leaked secrets, missing healthchecks, bloated layers. For each finding: severity, the line, and a concrete fix. Rank by impact. Do not invent issues that aren't present.
Dockerfile:
{{dockerfile}}How to use
Copy the prompt and paste it into your AI tool of choice. It works best with claude-opus-4. See more prompts in DevOps for related workflows.
Reviews
Loading reviews