title: docker-compose for a node project getting cannot find package.json on windows
body: <p>I'm trying to get docker-compose working on my Windows 8 box.  I have the following docker-compose file</p>
  
  <pre><code>version: '3'
  services:
    testweb:
      build: .
      command: npm run install
      volumes:
      - .:/usr/app/    
      working_dir: /app
      ports:
        - "3000:3000"
  </code></pre>
  
  <p>However when I run this using docker-compose I get an error saying cannot find package.json.  I know this is something to do with how the paths are mapped.  So I moved my folder to c:\users and tried with the same issue.  I then moved to c:\users\ and tried, ended up with the same issue.  The mapping on my virtual box is as follows</p>
  
  <p><a href="https://i.stack.imgur.com/1slHk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1slHk.png" alt="enter image description here"></a></p>
  
  <p>Does anyone know how to fix this?</p>
  
  <p>Attached is my Dockerfile</p>
  
  <pre><code>FROM node:7.7.2-alpine
  
  WORKDIR /usr/app
  
  RUN apk update &amp;&amp; apk add postgresql
  
  COPY package.json .
  RUN npm install --quiet
  
  COPY . .
  </code></pre>