Auto-Fix Dockerfile

Refactor Dockerfiles safely with deterministic fixes, review the diff, and export the improved version.

Deterministic engine
0Open·0Fixed·0Manual review·0Detected originally
Source lines0Live count from the current editor content.
Build stages0Useful for multi-stage Dockerfiles and targeted stage-aware fixes.
Fix coverage11Pinned images, secrets, HEALTHCHECK, USER, apt cleanup, COPY hygiene, and more.
Run stateReadyPaste or upload a Dockerfile to generate a deterministic fix plan.
DOCKERFILE WORKSPACE
Optional additional context
Execution summary

Awaiting a deterministic run

Run Auto-Fix to analyze the Dockerfile, apply safe changes, and inspect the final diff before export.

Deterministic engine0 changes applied
Detected issues0
Applied fixes0
Remaining issues0
Manual review0
Critical findings0

Highest priority findings that block a clean production handoff.

High severity0

Important remediations that still need strong operator attention.

Medium severity0

Quality and hardening improvements that improve runtime posture.

Low severity0

Smaller hygiene fixes that improve consistency and maintainability.

Fix coverage0%

Coverage updates after each deterministic pass.

Auto-fixed findings

These rules were handled by the deterministic engine.

0

Still open

Items still detected after the automatic pass.

0

Manual review queue

Rules that still need operator attention.

0

Applied changes

Review exact before/after lines before you export the fixed Dockerfile.

0

Run notes

No changes applied yet.

Push to Git

Create a branch and continue the Auto-Fix workflow in your Git platform.

File Source

Push Destination

Waiting for source context from Integration Hub.

Repository-
Branch-
File-
ModeSame source
Use another destination

Source context is only used as a default. You can override the destination here with another provider, repository, branch, or file path before running Commit Fix.

ORIGINALFIXED