title: Understanding "VOLUME" instruction in DockerFile
body: <p>Below is the content of my &quot;Dockerfile&quot;</p>
  <pre><code>FROM node:boron
  
  # Create app directory
  RUN mkdir -p /usr/src/app
  
  # Change working dir to /usr/src/app
  WORKDIR /usr/src/app
  
  VOLUME . /usr/src/app
  
  RUN npm install
  
  EXPOSE 8080
  
  CMD [&quot;node&quot; , &quot;server&quot; ]
  </code></pre>
  <p>In this file I am expecting <code>VOLUME . /usr/src/app</code> instruction to mount
  contents of present working directory in host to be mounted on <code>/usr/src/app</code>
  folder of container.</p>
  <p>Please let me know if this is the correct way?</p>