Commit 6dfd3390 authored by Rais Aryaguna's avatar Rais Aryaguna

add config server

parent 5870d430
module.exports = {
apps: [
{
name: 'ctas-box',
script: 'serve',
args: '--spa',
env: {
PM2_SERVE_PATH: 'dist',
PM2_SERVE_PORT: 8092,
PM2_SERVE_SPA: true,
},
},
],
};
......@@ -21,7 +21,8 @@
"re:build-npm": "npm run clean && npm install && npm run build",
"tsc:dev": "yarn dev & yarn tsc:watch",
"tsc:watch": "tsc --noEmit --watch",
"tsc:print": "npx tsc --showConfig"
"tsc:print": "npx tsc --showConfig",
"serve:web": "yarn install && yarn run build && pm2 startOrRestart ecosystem.config.js --env production"
},
"engines": {
"node": ">=20"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment