Spaces:
Runtime error
Runtime error
| FROM python:3.11-slim | |
| # Install system dependencies for OpenCV/Pillow image rendering | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| # Install standard CPU wheels | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["python", "app.py"] |