Understanding "VOLUME" instruction in DockerFile : <p>Below is the content of my "Dockerfile" </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 ["node" , "server" ]
</code></pre>

<p>In this file I am expecting "VOLUME . /usr/src/app" instruction to mount contents of present working directory in host to be mounted on /usr/src/app folder of container.</p>

<p>Please let me know if this is the correct way ?</p>
