Decrease Next.js Docker Image Size 15x

Pubblicato il: 06 luglio 2024
sul canale di: Frontend Basics
36,328
2.3k

Decrease your Next.js Docker image size from nearly two gigabytes to 135 MB.
Docker image size is important as we are regularly using push and pull commands. If the image size is small, we can push and pull faster which means a faster pipeline!

If you need more details for step three, you can check the official Next.js documentation:
https://nextjs.org/docs/app/api-refer...

If you prefer reading rather than listening, check my article:
https://www.temiz.dev/articles/how-to...


If you like the video, please subscribe as many more videos will come in the future.

0:00 Intro
0:10 Initial Image
1:16 Step 1: Use a smaller base image
1:53 Step 2: Multi-stage builds
3:42 Step 3: Next.js output configuration


In questa pagina del sito puoi guardare il video online Decrease Next.js Docker Image Size 15x della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Frontend Basics 06 luglio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 36,328 volte e gli è piaciuto 2.3 mille spettatori. Buona visione!