title: Docker-compose: How can I add a volume to a NodeJS source-code directory?
body: <p>I have a NodeJS application running on a Compose service and would like to access its source-code directory from outside via volumes. I tried to do that like this:</p>
  
  <pre><code>volumes:
    - "./source_code:/myApplication"
  </code></pre>
  
  <p>Still, when I run <code>nodemon index.js</code> all I get is nodemon trying to run on an empty folder, with the following error message:</p>
  
  <pre><code>Usage: nodemon [nodemon options] [script.js] [args]
  See "nodemon --help" for more
  </code></pre>
  
  <p>I have searched around, but found no similar problems from other people. Is there a problem with the way I'm defining that volume? How would it be done properly? Thanks in advance.</p>