Spaces:
Paused
Paused
| # ============================================================================ | |
| # Dockerfile for Concert Operation AI on Hugging Face Spaces (Docker SDK) | |
| # Pure standard HTTPS service on port 7860 | |
| # ============================================================================ | |
| FROM python:3.11-slim | |
| ENV DEBIAN_FRONTEND=noninteractive \ | |
| PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PORT=7860 | |
| # Install required system packages for PaddleOCR, PyMuPDF, OpenCV | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl \ | |
| ca-certificates \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libgomp1 \ | |
| libmagic1 \ | |
| procps \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Install Python requirements | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code and scripts | |
| COPY . . | |
| # Expose default Hugging Face Space port | |
| EXPOSE 7860 | |
| # Launch unified cloud runner | |
| CMD ["python3", "start_cloud.py"] | |