title: docker compose not finding my files
body: <p>Docker is telling me it cant find the specified file.  Is my context wrong?  My folder structure is as follows.</p>
  
  <pre><code>root
    - docker
      - docker-compose-service.yml
    - service
      - DockerFile
    Nuget.config
  </code></pre>
  
  <p>Inside my docker-compose-service.yml file I have</p>
  
  <pre><code>build:
    context: .
    dockerfile: ../service/DockerFile
  </code></pre>
  
  <p>I run from the root folder the following command</p>
  
  <pre><code>docker-compose -f docker/docker-compose-service.yml up --build
  </code></pre>
  
  <p>It can find the Dockerfile as it runs the code but fails on a line inside the dockerFile which is</p>
  
  <pre><code>COPY NuGet.config .
  </code></pre>
  
  <p>The error is </p>
  
  <pre><code>failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder408021827/NuGet.config: no such file or directory
  </code></pre>
  
  <p>What am I doing wrong? I played around with the context and dockerFile location but then it couldn't find the DockerFile</p>
  
  <hr>
  
  <p>Hmm so if I run the command from the docker folder and change the docker-compose-service.yml file to be</p>
  
  <pre><code>context: ../
  dockerfile: service/DockerFile
  </code></pre>
  
  <p>That seems to work</p>