DEV Community


Discussion on: Next.js + Docker. Made easy.

rafipiccolo profile image
Raphael Piccolo

Thanks for the presentaion !
I have now deployed my nextjs containers in production.

But i strongly disagree on this : Dockerizing makes sense when you have a huge container architecture.
container are supposed to be light to start and stop fast. If you do a huge container, it will be counter productive when you grow.
it may make sens to have a big git for exemple with all your project inside (front, back, etc) to ease developpment, but you should deploy each part of the project on its own container using docker compose for exemple. that way scaling and monitoring is way more efficient.
have a good day.