title: The command '/bin/sh -c npm install --silent' returned a non-zero code: 254
body: <p>When m trying to craete image of react app  with docker<a href="https://i.stack.imgur.com/JaHCC.png" rel="nofollow noreferrer">enter image description here</a>file its saying...</p>
  <pre><code>    The command '/bin/sh -c npm install --silent' returned a non-zero code: 254
  </code></pre>
  <p>Here is my dockerfile</p>
  <pre><code># Pull official base image
  FROM node:13.12.0-alpine
  
  # Set working directory
  WORKDIR /app
  
  # Add `/app/node_modules/.bin` to $PATH
  ENV PATH /app/node_modules/.bin:$PATH
  
  # install app dependencies
  COPY package.json ./
  COPY package-lock.json ./
  RUN npm install --silent
  RUN npm install react-scripts@3.4.1 -g --silent
  
  # add app
  COPY . ./
  
  # start app
  CMD [&quot;npm&quot;, &quot;start&quot;]
  </code></pre>