Spaces:
Build error
Build error
| # Dockerfile | |
| FROM python:3.10-slim | |
| LABEL maintainer="Dwayne Galloway" | |
| LABEL description="FOS Complaint Tracker Suite - Automated case monitoring" | |
| # Set working directory | |
| WORKDIR /app | |
| # Install system dependencies (optional, for debugging or future OCR) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all Python modules | |
| COPY config.py pdf_parser.py email_watcher.py scheduler.py notifier.py main.py ./ | |
| # Create directories for persistent data (PDFs, reports, tokens) | |
| RUN mkdir -p /app/data /app/reports | |
| # Define volumes for persistent storage | |
| VOLUME ["/app/data", "/app/reports"] | |
| # Default command – runs the orchestrator | |
| CMD ["python", "main.py"] |