Docker Multi-stage build - Copy failing : <p>I'm having some issues with a multi-stage Dockerfile for an ejected create-react-app. The Dockerfile is listed below:</p>

<pre><code>FROM node:9.6.1 as builder

RUN mkdir /usr/src/app
WORKDIR /usr/src/app

ENV PATH /usr/src/app/node_modules/.bin:$PATH
COPY package.json /usr/src/app/package.json
RUN npm install --silent
COPY . /usr/src/app

RUN npm run build

FROM nginx:1.13.9-alpine
COPY --from=builder /usr/src/app/build /usr/share/nginx/html
EXPOSE 80
</code></pre>

<p>The Dockerfile runs successfully until it gets to step 10 (COPY) where it throws the following error:</p>

<pre><code>COPY failed: stat /var/lib/docker/overlay2/2fc8af4cb8db9777246cae48721d8a93917c73e415a02680f1e3a73c8780b903/merged/usr/src/app/build: no such file or directory
</code></pre>

<p>I've googled away but can't find a clear answer. Has anyone experienced anything similar?</p>
