update build process and environment configuration
This commit is contained in:
12
ecosystem.config.js
Normal file
12
ecosystem.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'IotDis',
|
||||
script: './build/index.js',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
watch: ['./build', './ecosystem.config.js', './.env'],
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user