Spaces:
Build error
Build error
File size: 823 Bytes
2bacc84 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # 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"] |