From a98bfb5aca01f833c56cd74419e2fc6e850d2b60 Mon Sep 17 00:00:00 2001 From: Daseul Kim Date: Mon, 30 Jun 2025 14:01:22 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=8B=A4=ED=96=89=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=9B=90=EB=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecosystem.config.js | 5 ----- package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 303d746..a79cb57 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -3,13 +3,8 @@ module.exports = { { name: 'on-site-survey', script: 'node_modules/next/dist/bin/next', - args: 'start', instances: 2, exec_mode: 'cluster', - env_file: '.env.production', - env: { - NODE_ENV: 'production', - }, }, ], } diff --git a/package.json b/package.json index 1b0be83..e309ff6 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "next start", "build:local": "env-cmd -f .env.localhost next build", "build:dev": "env-cmd -f .env.development next build", - "build:prod": "set NODE_ENV=production && env-cmd -f .env.production next build", + "build:prod": "env-cmd -f .env.production next build", "start:local": "env-cmd -f .env.localhost next start", "start:dev": "env-cmd -f .env.development next start", "start:prod": "env-cmd -f .env.production next start",