---
services:
  function:
    platform: linux/amd64
    build:
      context: .
      target: deploy
    ports:
      - "9000:8080"
    environment:
      - DD_ENV=dev
      - DD_SERVICE=renew-manager
      - DD_TRACE_ENABLED=false
      - DD_ENHANCED_METRICS=false
      - AWS_REGION=us-east-1
      - AWS_PROFILE=prod
      - LAMBDA_TASK_ROOT=/var/task
  unit-lint:
    platform: linux/amd64
    build:
      context: .
      target: unit-lint
    ports:
      - "8000:8000"
    environment:
      - SKIP_LINT=0
      - TEST_ARGS=-v
      - COV_REPORT=term
