If you want's to setup dynemic PORT then follow this steps:
npm run build
set NITRO_PORT=3000
npm start
Now, check your app is running on the 3000 port