Spaces:
Runtime error
Runtime error
Download docker/Dockerfile.dev from Rishabh-7/PPE-Detection: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/spaces/Rishabh-7/PPE-Detection/resolve/main/docker/Dockerfile.dev
- Command line
-
hf download hf://spaces/Rishabh-7/PPE-Detection/docker/Dockerfile.dev
-
curl -L -o Dockerfile.dev https://huggingface.co/spaces/Rishabh-7/PPE-Detection/resolve/main/docker/Dockerfile.dev
385 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements/dev.txt requirements/base.txt requirements/ | |
| RUN pip install --no-cache-dir -r requirements/dev.txt | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"] | |