build(frontend): changed env file

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-06-07 15:45:20 +02:00
parent b1ce794c06
commit 4986708006

View file

@ -18,6 +18,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"
echo "frotend build completed"