How to Write a Production-Ready Dockerfile (With Examples for Node.js and Python)