version: '3.4'

services:
  app:
    build:
      context: .
      dockerfile: Dockerfile
    working_dir: /app
    volumes:
      - ./data:/app/data # this will write the results to your host system
      - ./gt:/app/gt
      # mount your modules, custom workflows and data here
      #- ./models/ocrd-tesserocr-recognize:/usr/local/share/tessdata/
      #- ./models/ocrd-calamari-recognize:/usr/local/share/ocrd-resources/
      # - TODO/custom/data