title: Docker compose, webpack permission denied
body: <p>I am trying to run webpack inside a docker container for a node app.  I get the following error.</p>
  
  <pre><code>sh: 1: webpack: Permission denied
  </code></pre>
  
  <p>The Dockerfile works fine on a normal build.</p>
  
  <pre><code>FROM node
  
  # Create app directory
  RUN mkdir -p /usr/src/app
  WORKDIR /usr/src/app
  COPY package.json /usr/src/app/
  
  RUN npm install
  
  # Bundle app source
  COPY . /usr/src/app
  
  EXPOSE 3001
  
  #This launches webpack which fails.
  CMD [ "npm", "start" ] 
  </code></pre>