Spaces:
Paused
Paused
File size: 969 Bytes
5fd1d56 ec15391 5fd1d56 ec15391 5fd1d56 ec15391 | 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 29 30 31 32 33 34 35 36 37 | # ============================================================================
# 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"]
|