Spaces:
Build error
Build error
Download Dockerfile.dockerfile from roseyshi/Face_Detection: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/roseyshi/Face_Detection/resolve/main/Dockerfile.dockerfile
- Command line
-
hf download hf://spaces/roseyshi/Face_Detection/Dockerfile.dockerfile
-
curl -L -o Dockerfile.dockerfile https://huggingface.co/spaces/roseyshi/Face_Detection/resolve/main/Dockerfile.dockerfile
221 Bytes
| # Dockerfile.backend | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "backend.api.main:app", "--host", "0.0.0.0", "--port", "8000"] |