
Containerize your nextJS Application: the right way
For most of time, i deployed react app or nextJs on cloudflare pages or with nextJs is Vercel.But today I try to deploy it to k8s. And WTF my nextJs application’s docker image cost more than 4GB in hard disk. Then I try to optimize it and then my image just cost 300 MBs so…