File size: 299 Bytes
4f2020d
 
8f9e9fa
 
 
4f2020d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
services:
  api:
    build:
      context: .
      target: runtime
    ports:
      - "8000:8000"
    volumes:
      - model-cache:/app/models
    environment:
      - HF_HOME=/app/models
      - HF_TOKEN=${HF_TOKEN:-}
      - API_KEY=${API_KEY}
    restart: unless-stopped

volumes:
  model-cache: