title: Node container fails to run using docker for windows
body: <p>I am unable to get my container to run after switching from using docker toolbox to docker for windows. After starting the container it just immediately fails with state <code>EXIT 254</code>. This setup was working previously using virtualbox and I am quite stumped at what the problem could be. The build completes successfully.</p>
  
  <p>This is the error:</p>
  
  <pre><code>frontend_1     | npm info it worked if it ends with ok
  frontend_1     | npm info using npm@3.8.6
  frontend_1     | npm info using node@v5.12.0
  frontend_1     | npm ERR! Linux 4.4.15-moby
  frontend_1     | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev:no-debug"
  frontend_1     | npm ERR! node v5.12.0
  frontend_1     | npm ERR! npm  v3.8.6
  frontend_1     | npm ERR! path /usr/src/app/package.json
  frontend_1     | npm ERR! code ENOENT
  frontend_1     | npm ERR! errno -2
  frontend_1     | npm ERR! syscall open
  frontend_1     |
  frontend_1     | npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
  frontend_1     | npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
  frontend_1     | npm ERR! enoent This is most likely not a problem with npm itself
  frontend_1     | npm ERR! enoent and is related to npm not being able to find a file.
  frontend_1     | npm ERR! enoent
  frontend_1     |
  frontend_1     | npm ERR! Please include the following file with any support request:
  frontend_1     | npm ERR!     /usr/src/app/npm-debug.log
  </code></pre>
  
  <p>This is my Dockerfile:</p>
  
  <pre><code>FROM node:5
  
  WORKDIR /usr/src/app
  COPY package.json /usr/src/app/
  RUN npm install
  COPY . /usr/src/app/
  
  CMD [ "npm", "run", "dev:no-debug" ]
  </code></pre>
  
  <p>This is the relevant compose file settings:</p>
  
  <pre><code>services:
    frontend:
      build:
        context: ./frontend
      volumes:
        - ./frontend:/usr/src/app
        - /usr/src/app/node_modules
      expose:
        - "7777"
      environment:
        - "PORT=7777"
        - "VIRTUAL_PORT=7777"
        - "VIRTUAL_HOST=test.example.com"
  </code></pre>
  
  <p>Edit: Add directory structure:</p>
  
  <pre><code>C  
  └---Users
      |----deepc
           |----docker
                |----myproject
                     |---nginx
                     |---dockergen
                     |---frontend
                          ---package.json, node_modules, src, Dockerfile
                     ---docker-compose.yml
  </code></pre>