From 7f74d5f61191c12be85d696edc33bddddf13c34f Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev Date: Fri, 20 Feb 2026 00:38:23 +0700 Subject: [PATCH] Fix shared npm install lock path for multi-container startup --- Frontend/scripts/compose-dev.sh | 2 +- Frontend/scripts/compose-worker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Frontend/scripts/compose-dev.sh b/Frontend/scripts/compose-dev.sh index 32e8d6a..2cb5d68 100755 --- a/Frontend/scripts/compose-dev.sh +++ b/Frontend/scripts/compose-dev.sh @@ -4,7 +4,7 @@ set -euo pipefail cd "$(dirname "$0")/.." # Serialize dependency install when multiple containers share the same workspace. -LOCK_FILE=/tmp/clientsflow-npm-install.lock +LOCK_FILE=/app/Frontend/.npm-install.lock exec 9>"$LOCK_FILE" flock 9 diff --git a/Frontend/scripts/compose-worker.sh b/Frontend/scripts/compose-worker.sh index 25daabc..0a8907a 100644 --- a/Frontend/scripts/compose-worker.sh +++ b/Frontend/scripts/compose-worker.sh @@ -4,7 +4,7 @@ set -euo pipefail cd "$(dirname "$0")/.." # Serialize dependency install when multiple containers share the same workspace. -LOCK_FILE=/tmp/clientsflow-npm-install.lock +LOCK_FILE=/app/Frontend/.npm-install.lock exec 9>"$LOCK_FILE" flock 9