Question 2 of 10

What are the best practices for writing production-ready Dockerfiles? Explain multi-stage builds and how you would optimize a Docker image for a Node.js or Python application.