title: installing npm packages in custom NODE_PATH using docker build
body: <p>I want to run cypress included 9.7.0 which is available here.</p>
  <p><a href="https://github.com/cypress-io/cypress-docker-images/tree/master/included/9.7.0" rel="nofollow noreferrer">https://github.com/cypress-io/cypress-docker-images/tree/master/included/9.7.0</a></p>
  <p>This above image already has node and cypress installed.
  They have defaulted the node_modules to /usr/local/lib</p>
  <p>On top of there I would like to install few more npm packages like mocha, mochawesome</p>
  <p>Here is my docker file,</p>
  <pre><code>FROM cypress/included:9.7.0
  WORKDIR /framework/
  
  COPY ./cypress.config.js /framework/cypress.config.js
  COPY ./package.json /framework/package.json
  COPY ./package-lock.json /framework/package-lock.json
  RUN npm install -dd --save-dev mocha cypress-multi-reporters mochawesome
  RUN npm i --save-dev mochawesome-merge
  RUN npm i --save-dev mochawesome-report-generator
  RUN npm install npm-run-all --save-dev
  ENTRYPOINT [&quot;tail&quot;,&quot;-f&quot;, &quot;/dev/null&quot;]
  CMD [&quot;&quot;]
  </code></pre>
  <p>while docker image is building I see that each of the step is executed and all the npm packages are being installed, when I get into the container I don't see the packages in the node_modules directory.</p>
  <p>what am I missing here ?
  How do I install these npm packages onto a custom node_modules directory ?</p>