http://elemes.riskysaputra.my.id/ - using Docker
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
(ubuntu server)
- $ ssh root@vps_ip (accses vps)
- $ sudo apt update && sudo apt upgrade
install nvm
- $ nvm install --lts (install node)
- $ sudo apt install npm (install npm)
clone repo to directory
- $ git clone
- $ cd /to_project
- $ npm install
- $ npm run build
the rest refrenced here how to deploy: https://gist.github.com/kocisov/2a9567eb51b83dfef48efce02ef3ab06