Intermédiaire
Docker Multi-Stage Build - Best Practices
docker development guide
Prompt Complet
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
Compatible avec
✨Claude 3.5 Sonnet✨GitHub Copilot✨Cursor
Débutant Rating
5(2,519)
Stats
8,683Vues
2,568Copies
2,519J'aime
2,568Sauvegardes