Experte
Docker Multi-Stage Build
docker development guide
Vollständiger 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
Kompatibel mit
✨Claude 3.5 Sonnet✨GitHub Copilot✨Cursor
Anfänger Rating
3.8(4,540)
Stats
4,111Aufrufe
2,246Kopien
4,540Likes
2,246Speicherungen