title: no such file or directory in COPY dockerfile
body: <p>I have made the following dockerfile to contain my node js application, the problem is that an error appears when building the dockerfile:</p>
  
  <pre><code>Sending build context to Docker daemon  2.048kB
  Step 1/7 : FROM node:10
   ---&gt; 0d5ae56139bd
  Step 2/7 : WORKDIR /usr/src/app
   ---&gt; Using cache
   ---&gt; 5bfc0405d8fa
  Step 3/7 : COPY package.json ./
  COPY failed: stat /var/lib/docker/tmp/docker- 
  builder803334317/package.json: no such file or directory
  </code></pre>
  
  <p>this is my dockerfile:</p>
  
  <pre><code>FROM node:10
  WORKDIR /usr/src/app
  COPY package*.json ./
  RUN npm install
  COPY . .
  EXPOSE 8080
  CMD [ "npm", "start" ]
  </code></pre>
  
  <p>i executed the command:
  sudo docker build - &lt; Dockerfile</p>
  
  <p>into my root project folder.</p>
  
  <p>My project folder is simple, like this:</p>
  
  <pre><code>-Project
   -app.js
   -Dockerfile
   -package.json
   -package-lock.json
   -README.md
  </code></pre>
  
  <p>I am doing something wrong?</p>