Below are the steps I took when navigating how to deploy my NextJS front end through my Ubuntu Virtual Machine.
There seems to be two paths that you can take to run your project, and it primarily has to do with whether you are in development or production. Below are both paths listed out.