Skip to content

Commit 0dd045d

Browse files
authored
Update build-local.sh
1 parent 8e3d501 commit 0dd045d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/build-local.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ branch=$(git branch | grep \* | cut -d ' ' -f2)
22

33

44
docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler cp -r /node_modules .
5-
docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler npm install
5+
docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler npm install --legacy-peer-deps
66
docker run -w="/app" -v "$(pwd)/ui":/app udsmdhis2/icare-ui-compiler npm run build:prod
77
#cd ../docs
88
#docker run -w="/app" -v "$(pwd)":/app node:16.14 npm install

0 commit comments

Comments
 (0)