How to Deploy Next js App on Cpanel

How to Deploy Next js App on Cpanel
  1. create nextjs project
  2. open project by vs code
  3. run project in localhost by this command: npm run dev
  4. create server.js file
  5. edit package.json file
  6. tun this command: npm run build 7.zip all project fils without node_modules folder
  7. login cPanel
  8. upload zip file in the file manager
  9. create nodejs app