From 4986708006e2c02e5d7532a6331a4736df75f688 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Tue, 7 Jun 2022 15:45:20 +0200 Subject: [PATCH] build(frontend): changed env file Signed-off-by: rjshrjndrn --- frontend/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/build.sh b/frontend/build.sh index 652be2acf..575d99e9e 100644 --- a/frontend/build.sh +++ b/frontend/build.sh @@ -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"