title: How do i solve the error "No such file or directory" error when building with Dockerfile
body: <p>I have a dockerfile in my .net core project directory, I published my project into an <code>out</code> directory within my project directory, the <code>out</code> folder has all my dlls, but when i try to run the command <code>docker build -t floormindcore.web .</code> I get this error </p>
  
  <pre><code>stat /var/lib/docker/tmp/docker-builder154411130/out: no such file or directory
  </code></pre>
  
  <p>This is my Dockerfile below</p>
  
  <p><a href="https://i.stack.imgur.com/lmaJz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lmaJz.png" alt="enter image description here"></a></p>
  
  <p><strong>Folder structure of project</strong></p>
  
  <p>The <code>out</code> directory is in the project directory on my linux server, and so is my <code>Dockerfile</code>, and this is where i run the docker build command from. The <code>out</code> directory contains my published dlls</p>
  
  <p><a href="https://i.stack.imgur.com/p98Gj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p98Gj.png" alt="enter image description here"></a></p>