Spaces:
Build error
Build error
Download Dockerfile from Hawk3388/face-search: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/Hawk3388/face-search/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Hawk3388/face-search/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Hawk3388/face-search/resolve/main/Dockerfile
349 Bytes
| FROM python:3.9-slim | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential cmake pkg-config \ | |
| libx11-dev libatlas-base-dev libgtk-3-dev libboost-python-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| CMD ["python", "app.py"] | |