version: "2" services: app: build: . command: bash -c "npm install && npm start" volumes: - .:/usr/src/app ports: - "3000:3000"