services:
  deploy:
    platform: linux/amd64
    build:
      context: .
      dockerfile: Dockerfile
      target: deploy
    ports:
      - 9001:9001
  unit-lint:
    platform: linux/amd64
    build:
      context: .
      dockerfile: Dockerfile
      target: lint-and-test
    environment:
      - TEST_ARGS=-v
    volumes:
      - ./build:/var/app/build
