I wish this help you For production environment, personally, you should give a try to pm2. PM2 is an awesome process manager for nodejs. There are features like: Load balancer, running the app forever even when the server restarts and a lot more that you can read here: https://github.com/Unitech/pm2 To pass v8 arguments using pm2 you can use --node-args:
Hope this helps JSLint does not currently have any support for any of the specced or proposed ES6 features. JSHint does have a basic level of support for some ES6 features, and is gaining more support fairly regularly: Destructuring Rest parameters/spread operator Generator functions Block scoping (including constants and let) Classes The for-of loop Modules
Node Docker Image supporting node --harmony
By : Paul Bagley
Date : March 29 2020, 07:55 AM
Any of those help (Note: I have no idea about docker) Looking at the error message and the syntax for declaring the command, it seems that every command line parameter has to be specified as separate element, so you should be doing
CMD ["node", "--harmony", "cluster.js"]
Why I can not start harmony mode by "node --harmony test.js" from command line?