File size: 460 Bytes
3192171
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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