node:
    image: node
    restart: on-failure:3
    environment:
        PORT: "8080"
        MONGO_HOST: "mongo"
    ports:
        - "8080:8080"
    links:
        - mongo
    volumes:
        - ./:/data
    working_dir: /data
    command: node src/server.js

mongo:
    image: mongo:2.6.11
    restart: on-failure:3
    volumes:
        - ./volumes/mongo:/data/db

node:
    image: node:slim
    restart: on-failure:3
    environment:
        PORT: "8080"
        MONGO_HOST: "mongo"
    ports:
        - "8080:8080"
    links:
        - mongo
    volumes:
        - ./:/data
    working_dir: /data
    command: node src/server.js

mongo:
    image: mongo:2.6.11
    restart: on-failure:3
    volumes:
        - ./volumes/mongo:/data/db

Use the node:slim docker image
Use the node:slim docker image
