title: Docker how to pass a relative path as an argument
body: <p>I would like to run this command:</p>
  
  <pre><code>docker run docker-mup deploy --config .deploy/mup.js
  </code></pre>
  
  <p>where <code>docker-mup</code> is the name the image, and <code>deploy</code>, <code>--config</code>, <code>.deploy/mup.js</code> are arguments</p>
  
  <p>My question: how to mount a volume such that <code>.deploy/mup.js</code> is understood as the relative path on the host from where the <code>docker run</code> command is run?</p>
  
  <p>I tried different things with <code>VOLUME</code> but it seems that VOLUME does the contrary: it exposes a container directory to the host.</p>
  
  <p>I can't use -v because this container will be used as a build step in a CI/CD pipeline and as I understand it, it is just run as is.</p>