Spaces:
Sleeping
Sleeping
Download Dockerfile from devbucky/Rhinoplasty-PronoseAI: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/spaces/devbucky/Rhinoplasty-PronoseAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/devbucky/Rhinoplasty-PronoseAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/devbucky/Rhinoplasty-PronoseAI/resolve/main/Dockerfile
676 Bytes
| FROM python:3.10 | |
| # Install system dependencies for MediaPipe, OpenCV, and Gradio | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libsm6 \ | |
| libxext6 \ | |
| libxrender1 \ | |
| libgomp1 \ | |
| libgthread-2.0-0 \ | |
| libavcodec-dev \ | |
| libavformat-dev \ | |
| libswscale-dev \ | |
| ffmpeg \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Copy requirements and install Python packages | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY . . | |
| # Expose Gradio default port | |
| EXPOSE 7860 | |
| # Run the applications | |
| CMD ["python", "app.py"] |