Fix shared npm install lock path for multi-container startup
This commit is contained in:
@@ -4,7 +4,7 @@ set -euo pipefail
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
# Serialize dependency install when multiple containers share the same workspace.
|
# 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"
|
exec 9>"$LOCK_FILE"
|
||||||
flock 9
|
flock 9
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set -euo pipefail
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
# Serialize dependency install when multiple containers share the same workspace.
|
# 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"
|
exec 9>"$LOCK_FILE"
|
||||||
flock 9
|
flock 9
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user