From dece53e6982849bf551aad05dcb4db37f04ecc3c Mon Sep 17 00:00:00 2001 From: Daseul Kim Date: Mon, 30 Jun 2025 10:22:59 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20ecosystem.config.js=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20-=20script=20=EC=9B=90=EB=B3=B5=20=EB=B0=8F=20env?= =?UTF-8?q?=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecosystem.config.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 2df2fdf..3c9d389 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -2,12 +2,13 @@ module.exports = { apps: [ { name: 'on-site-survey', - // script: 'node_modules/next/dist/bin/next', - script: 'npm.cmd', - args: 'start', - cwd: 'C:\\interplug\\onsitesurvey', + script: 'node_modules/next/dist/bin/next', instances: 2, exec_mode: 'cluster', + env_file: '.env.production', + env: { + NODE_ENV: 'production', + }, }, ], }