version: '3.8' services: pdf-converter: build: . ports: - "4000:5000" volumes: - ./uploads:/app/uploads - ./outputs:/app/outputs - ./logs:/app/logs environment: - FLASK_ENV=development - FLASK_APP=app.py - TESSDATA_PREFIX=/app/tessdata