title: How to COPY/ADD file into current WORKDIR in Dockerfile
body: <p>COPY/ADD statement requires 2 parameters. How can I add any file to current workdir that has been set in base image?</p>
  
  <pre><code>FROM company/app
  COPY local.conf
  </code></pre>
  
  <p>Sure I can add WORKDIR statement before COPY to explicitly declare it. But that would be problematic if the workdir in <code>company/app</code> changes. </p>