fix(build): frontend build command
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
4986708006
commit
8ce66d0ffc
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ check_prereq() {
|
|||
function build(){
|
||||
cp .env.sample .env
|
||||
# Run docker as the same user, else we'll run in to permission issues.
|
||||
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:14-stretch-slim /bin/bash -c "npm install && npm run build:oss"
|
||||
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:14-stretch-slim /bin/bash -c "npm install && npm run build"
|
||||
echo "frotend build completed"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue