From 0dd045d9ccc4c8a0b748534f41257f5a3cb68398 Mon Sep 17 00:00:00 2001 From: Josephat Julius M Date: Sun, 20 Oct 2024 12:13:26 +0300 Subject: [PATCH] Update build-local.sh --- docker/build-local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build-local.sh b/docker/build-local.sh index 5176696a6..bf33dc089 100644 --- a/docker/build-local.sh +++ b/docker/build-local.sh @@ -2,7 +2,7 @@ branch=$(git branch | grep \* | cut -d ' ' -f2) docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler cp -r /node_modules . -docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler npm install +docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler npm install --legacy-peer-deps docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler npm run build:prod #cd ../docs #docker run -w="/app" -v "$(pwd)":/app node:16.14 npm install