services:
  lint-and-test:
    platform: linux/amd64
    build:
      context: .
    volumes:
      - ./common:/var/app/common
      - ./tests:/var/app/tests
    environment:
      - SKIP_LINT=0
      - TEST_ARGS=-v
      - PYTHONDONTWRITEBYTECODE=1
  lockfile:
    platform: linux/amd64
    build:
      context: .
      target: base
      args:
        AWS_ACCOUNT: "086679231553"
    volumes:
      - ./:/var/task:cached
    entrypoint: ["uv"]
    command: ["lock", "--upgrade"]
