Spaces:
Build error
Build error
Download Dockerfile from MSivasandeep/Face_recognition: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/MSivasandeep/Face_recognition/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MSivasandeep/Face_recognition/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MSivasandeep/Face_recognition/resolve/main/Dockerfile
442 Bytes
| FROM python:3.9-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| cmake \ | |
| libsm6 \ | |
| libxext6 \ | |
| libxrender-dev \ | |
| libgl1-mesa-glx \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |