title: What does . mean in docker? Does it mean the current working directory of the image or the local machine?
body: <p>I am confused about whether <code>.</code> means that it's a shortened abbreviation of the current directory of the image or if it's the current working directory on the local machine. Or is it the same meaning of <code>.</code> in most console commands like essentially selecting all in the current directory.</p>
  
  <pre><code>COPY somecode.java .
  
  #copy the rest of the code
  
  COPY . .
  </code></pre>
  
  <p>The <code>.</code> also seems to mean find the docker file in the current directory. </p>
  
  <pre><code>docker build -t image-tag .
  </code></pre>