version: '2'
services:
  test:
    image: node:7
    volumes:
      - .:/app
    working_dir: /app
    command: npm install-test

version: '3'
services:
  test:
    image: node:7
    volumes:
      - .:/app
    working_dir: /app
    command: npm install-test

Migrate to compose file version 3
Migrate to compose file version 3
