I'll use yarn to install and build the nodejs project
- Clone the code available at BP-YARN-STEP
- Build the docker image
git submodule init
git submodule update
docker build -t ot/yarn:1.0 .
- Do local testing via image only
# install the dependencies code with default settings
docker run -it --rm -v $PWD:/src -e WORKSPACE=src -e CODEBASE_DIR=. -e INSTRUCTION=install ot/yarn:1.0
# to build the code
docker run -it --rm -v $PWD:/src -e WORKSPACE=src -e CODEBASE_DIR=. -e INSTRUCTION=build ot/yarn:1.0