registry:
  build: .
  ports:
    - "3000:3000"
    - "3001:3001"
    - "3002:3002"
    - "3003:3003"
  restart: always
test:
  build: .
  volumes:
    - ./output:/registry/output
  command: npm test
coverage:
  build: .
  volumes:
    - ./coverage:/registry/coverage
  command: npm run coverage

registry:
  build: .
  ports:
    - "3000:3000"
    - "3001:3001"
    - "3002:3002"
    - "3003:3003"
  restart: always
test:
  build: .
  volumes:
    - ./output:/registry/output
  command: bash -c "chmod 777 /registry/output && npm test"
coverage:
  build: .
  volumes:
    - ./coverage:/registry/coverage
  command: bash -c "chmod 777 /registry/coverage && npm run coverage"

Fix problem with test and coverage file permission generated by docker
Fix problem with test and coverage file permission generated by docker
