title: docker webpack-dev-server: not found
body: <p>I want to create a container for client with vue.js. I already have my project: I copied it to a <code>client</code> folder and added a <code>Dockerfile</code>.  The "client" container created successfully, but I am getting an error</p>
  
  <blockquote>
    <p>webpack-dev-server: not found</p>
  </blockquote>
  
  <p>and my <code>node_modules</code> folder is empty.</p>
  
  <p>This is my <code>Dockerfile</code>:</p>
  
  <pre><code>FROM node:6.14.0-alpine
  
  RUN apk update &amp;&amp; apk upgrade &amp;&amp; \
  apk add --no-cache bash git openssh
  RUN mkdir -p /usr/src/client
  
  WORKDIR /usr/src/client
  COPY package.json ./
  RUN npm install
  
  COPY . ./
  
  CMD npm start
  </code></pre>
  
  <p>This is <code>docker-compose.yml</code></p>
  
  <pre><code>client:
      # Use a static website hosting service in production
      # See https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment
      image: ${CONTAINER_REGISTRY_BASE}/client
      build:
        context: ./client
        cache_from:
          - ${CONTAINER_REGISTRY_BASE}/client
      command: npm start
      env_file:
        - ./client/.env
      volumes:
        - ./client:/usr/src/client:rw,cached
      ports:
        - "8080:3000"
  </code></pre>