title: Can't create a docker image for COPY failed: stat /var/lib/docker/tmp/docker-builder error
body: <p>I want to create a docker image. This is my work directory:
  Dockerfile.in   test.json   test.py</p>
  
  <p>And this is my Dockerfile:</p>
  
  <pre><code>COPY ./test.json /home/test.json
  COPY ./test.py /home/test.py
  
  RUN python test.py
  </code></pre>
  
  <p>When i launch this command: 
  <code>docker build -f Dockerfile.in -t 637268723/test:1.0 .</code></p>
  
  <p>It gives me this error: </p>
  
  <pre><code>`Step 1/5 : COPY ./test.json /home/test.json
   ---&gt; Using cache
   ---&gt; 6774cd225d60
   Step 2/5 : COPY ./test.py /home/test.py
   COPY failed: stat /var/lib/docker/tmp/docker-builder428014112/test.py: 
   no such file or directory`
  </code></pre>
  
  <p>Can anyone help me?</p>