Download Dockerfile from tosanoob/mediapipe_fastapi_20classes: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/spaces/tosanoob/mediapipe_fastapi_20classes/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tosanoob/mediapipe_fastapi_20classes/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tosanoob/mediapipe_fastapi_20classes/resolve/main/Dockerfile
236 Bytes
| FROM python:3.12 | |
| WORKDIR /code | |
| COPY * /code | |
| RUN pip install --no-cache-dir -r /code/requirement.txt | |
| RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |