suggest_multistage
Proposes a multi-stage rewrite of a single-stage Dockerfile as text, reusing base image, workdir, ports, and CMD/ENTRYPOINT while explaining what moves to the build stage and why the final image shrinks.
Instructions
Propose a multi-stage rewrite of a single-stage Dockerfile as TEXT (never writes a file). Recognizes common Python, Node, Go and Rust patterns and reuses your base image version, workdir, ports and CMD/ENTRYPOINT. Explains what moves to the build stage and why the final image shrinks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |