Expert
Docker Multi-Stage Build
docker development guide
Full Prompt
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.
Tags
Works with
✨GPT-4o✨Claude 3.5 Sonnet✨Cursor
Beginner Rating
4.3(7,545)
Stats
7,903Views
3,105Copies
7,545Likes
3,105Saves