# Build baseball-engine-api:local with the base Compose file before this overlay. services: api: build: context: . dockerfile: Dockerfile.sam args: BASE_IMAGE: baseball-engine-api:local image: baseball-engine-api-sam:local environment: BASEBALL_SAM_WORKER_RECORD: /data/sam-api-worker.json volumes: - ${BASEBALL_SAM_ASSET_DIRECTORY:?Set the directory holding your approved SAM assets}:/opt/sam-assets:ro