From f9904a6579bee3c42b7c372fc4f4229c3e469205 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Wed, 28 Jan 2026 21:44:17 +0900 Subject: [PATCH] Harden build scripts --- client/run.sh | 6 +++++- server/run.sh | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/client/run.sh b/client/run.sh index 8e56280..fac6526 100755 --- a/client/run.sh +++ b/client/run.sh @@ -1,3 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + cd /home/dsyoon/workspace/meeting_ai/client + npm install -npm run dev \ No newline at end of file +npm run build \ No newline at end of file diff --git a/server/run.sh b/server/run.sh index 4084c14..ccfd961 100755 --- a/server/run.sh +++ b/server/run.sh @@ -1,4 +1,9 @@ +#!/usr/bin/env bash +set -euo pipefail + cd /home/dsyoon/workspace/meeting_ai/server + npm install npm run build -PORT=8018 npm run start \ No newline at end of file + +PORT="${PORT:-8018}" npm run start \ No newline at end of file