Spaces:
Build error
Build error
| FROM python:3.10-slim | |
| # Install system dependencies required for dlib (even with dlib-bin, some might be needed at runtime) | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| libopenblas-dev \ | |
| liblapack-dev \ | |
| libx11-dev \ | |
| libgtk-3-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /code | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["python", "app.py"] |