Skip to content
PromptVan
Sign In
Prompt

Dockerfile Hardening Reviewer

By @mr_mbeki_chem ยท Jun 24, 2026

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.

More in DevOps

Reviews

Loading reviews

Comments (0)

?

AI model

claude-opus-4

Category

DevOps

Visibility

public

Last updated

Jul 3, 2026

Variables

None