Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files1234567891011121314FROM python:3.11-slimRUN apt-get update && apt-get install -y \libxcb1 libxcb-cursor0 libxcb-shape0 libxcb-util1 \libgl1 libglib2.0-0 libsm6 libxext6 libxrender1 \&& rm -rf /var/lib/apt/lists/*WORKDIR /appCOPY requirements.txt .RUN pip install --no-cache-dir opencv-python-headless && \pip install --no-cache-dir -r requirements.txtCOPY . .1234567891011121314FROM python:3.11-slimRUN apt-get update && apt-get install -y libgl1 libglib2.0-0 \&& rm -rf /var/lib/apt/lists/*WORKDIR /appCOPY requirements.txt .# Install commonforms (pulls in opencv-python), then swap to headless (no X11 needed)RUN pip install --no-cache-dir -r requirements.txt && \pip uninstall -y opencv-python && \pip install --no-cache-dir opencv-python-headlessCOPY . .
Dockerfile+5-5