Most things should be configurable via next.config.js.
yarn global add vercelor
npm i -g vercel.
vercelcommand in the project directory.
You can also use this nice button below -
if you are not using vercel for deployment (which I recommend because it's super fast and easy), you can run
yarn build or
npm run build and
yarn start or
npm start to run it on your own server.