ramikrispin, (1/4) 𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐭𝐢𝐨𝐧 𝐭𝐨 𝐌𝐮𝐥𝐭𝐢-𝐒𝐭𝐚𝐠𝐞 𝐈𝐦𝐚𝐠𝐞 𝐁𝐮𝐢𝐥𝐝 🐳 𝐟𝐨𝐫 𝐏𝐲𝐭𝐡𝐨𝐧 🐍
The size of the Docker image could quickly increase during the build time. I became more mindful of the image size when I started to deploy on Github Actions. The bigger the image size, the longer the run time and the higher the runtime cost.
This is when you should consider using a multi-stage build 🚀.
🧵👇🏼
Add comment