Skip to content

Commit

Permalink
chore: add a script to build ui
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed May 9, 2022
1 parent a6b77fd commit a797ffb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ui/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

sudo docker run -it \
-v /etc/group:/etc/group:ro \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/shadow:/etc/shadow:ro \
-v $HOME:$HOME \
-u $(id -u):$(id -g) \
-w $(pwd) \
--rm \
node:12 \
npm $*

0 comments on commit a797ffb

Please sign in to comment.