Dockerfile Hardening Reviewer
By @mr_mbeki_chem ยท
14 likes0 forks0 comments
Description
Reviews a Dockerfile for security and size issues (root user, latest tags, secrets) with concrete fixes ranked by impact.
Prompt
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 devops prompts for related workflows.
Reviews
-
0 reviews