title: setting up a docker container with a waiting bash to install npm modules
body: <p>I'm trying to do something pretty trivial. For my dev environment, I wish to be able to have a shell in my container so I can run commands like npm install or npm run xxx. </p>
  
  <p><em>(I do not want to install my npm modules during build, since I want to map them to the host so that my editor is able to find them on the host. I do not want to execute npm install on the host, since I don't want the host to have to install npm).</em> </p>
  
  <p>So even though in a production container I would instruct my container to just run node, in my developer container I want to have an always waiting bash. </p>
  
  <p>If I set entrypoint to /bin/bash, the container immediately exits. This means that I can't attach to it anymore (since it stopped) and starting it will just immediately exit it again. </p>
  
  <p>I tried writing a small .sh to just loop and start /bin/bash again, but using that in my ENTRYPOINT yields an error that it can't find the .sh file, even though I know it is in the container. </p>
  
  <p>Any ideas?</p>