When I build my project, inside dist/server/app.js I can see the following line:
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
What should I do to start my server in production environment when I try running from this directory? Also, I want my project to listen on both ports 3000 and 8443, if request comes on 3000 I redirect it to 8443.
Please help with this.