services:
  whisper-ipex:
    build:
      context: whisper
      dockerfile: Dockerfile
    image: whisper-ipex:local
    container_name: whisper-ipex
    restart: unless-stopped
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - whisper-models-volume:/root/.cache/whisper
      - ~/whisper-files:/app

volumes:
  whisper-models-volume: {}
