title: Build jhipster monolithic application using docker container
body: <p>I have a jhipster monolithic application which I want to build using a docker container. I'm trying to use a jdk docker image and then install nodejs inside it by passing <code>-PnodeInstall</code>. However after sever attempts and trying out different options, I failed to build a docker image of my application. Here is the command which I tried to use:</p>
  
  <p><code>docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app anapsix/alpine-java:8u162b12_jdk ./gradlew -PnodeInstall bootRepackage -Pdev buildDocker
  </code></p>
  
  <p>Please suggest if somebody has tried this before and how to get this working?</p>
  
  <p>Thanks.</p>