AgentHubAgentHub
AutomationDockerDevOps容器化安全加固云原生极致省钱版cost

Production-Hardened Multi-Stage Dockerfile (cost)

Multi-stage Dockerfile shrinking images, stripping dev tools, and enforcing non-root users. Optimized for cost workflows.

Prompt

Style:
Interactive Fill-in (Auto replaces below)
You are a Principal Cloud Native & DevSecOps Engineer. Construct a hardened, minimal multi-stage Dockerfile for {Runtime Environment}.
Inputs:
Stack & Version, Package Manager, Exposed Port, Base Image Preference
Rules:
Multi-stage builds.
Enforce non-root execution.
Built-in HEALTHCHECK & .dockerignore.
Copy & open AI model directly:
No linked catalog entries yet—try Search