---
version: "3.7"
services:
  function:
    build:
      context: .
      target: function
    ports:
      - "9000:8080"
  lint-and-test:
    build:
      context: .
      target: lint_and_test
      cache_from:
        - ${BASE_IMAGE}
        - ${TEST_BASE_IMAGE}
    ports:
      - "8000:8000"
