Your DOCKER NextJS IMAGE SUCKS! Optimize it! | HOW TO

preview_player
Показать описание
Your Docker NextJS Image SUCKS! Optimize it!.
Sometimes yout NodeJS docker image is to big for production and need to be optimized, so watch this example while building an image for a Nextjs production image.

#devops #docker #nextjs
Рекомендации по теме
Комментарии
Автор

finally i got a solution while watching this video😊😊

srinathm
Автор

What do you think about docker files, using the next config option output : "standalone" ?

bida-hammer
Автор

The deps image could also do the production yarn install so your builder doesn't have to do any yarn install

omirrrr
Автор

Images don't work half the time. i just use a vm and install myself. It doesn't make my life easier using docker!

BryanChance