Fix shared npm install lock path for multi-container startup

This commit is contained in:
Ruslan Bakiev
2026-02-20 00:38:23 +07:00
parent 7eb19190ff
commit 7f74d5f611
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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