Cannot find module 'express'
<p>I'm using docker-compose to run node.js express app. 
this is my Dockerfile</p>

<pre><code>FROM node:latest
MAINTAINER jorge@valeet.io
# set default workdir
WORKDIR /src/api

# Expose the application port and run application
EXPOSE 3015
CMD [ "node" , "app.js"]
</code></pre>

<p>docker-compose.yml</p>

<pre><code>api:
  build: .
  volumes:
    - .:/src/api
    - /src/api/node_modules
  links:
    - mongo
  ports:
    - "3015:3015"
mongo:
  image: mongo:3.2 
  ports:
   - "27017:27017"
</code></pre>

<p>running:</p>

<p>docker-compose build
docker-compose up -d
I get an error on the the node.js app</p>

<pre><code>Error: Cannot find module 'express'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.&lt;anonymous&gt; (/src/api/app.js:4:15)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
</code></pre>

<p>I tried reinstall express, delete all packages, adding node_modules as volume in the docker-compose (the actual setup). I don't know what else to do.
I'm running it on a mac just in case it matters</p>

<p>Thanks!</p>