Spaces:
Build error
Build error
Download dockerfile - python from Basementup/Things: direct link, hf CLI and curl.
- Browser
- Download file 823 Bytes
-
https://huggingface.co/spaces/Basementup/Things/resolve/refs%2Fpr%2F1/dockerfile%20-%20python
- Command line
-
hf download 'hf://spaces/Basementup/Things@refs/pr/1/dockerfile - python'
-
curl -L -o 'dockerfile - python' https://huggingface.co/spaces/Basementup/Things/resolve/refs%2Fpr%2F1/dockerfile%20-%20python
823 Bytes
| # 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"] |