专家
Docker Multi-Stage Build
docker development guide
完整提示词
Optimize Docker multi-stage builds for a Node.js application: Alpine-based builder stage, production stage with distroless, layer caching strategy, security scanning with Trivy, .dockerignore optimization, build arguments for flexibility, health check endpoints, non-root user configuration, and docker-compose for local development with hot reload.
标签
支持平台
✨Claude 3.5 Sonnet✨GitHub Copilot✨Cursor
初学者 Rating
4.7(4,430)
Stats
2,962浏览
1,780复制
4,430点赞
1,780收藏