Skip to content

Commit

Permalink
Update build-local.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
josephatJ authored Oct 20, 2024
1 parent 8e3d501 commit 0dd045d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0dd045d

Please sign in to comment.