Spaces:
Sleeping
Sleeping
Download Dockerfile from PrashantGoyal/SmartPrep: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/PrashantGoyal/SmartPrep/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PrashantGoyal/SmartPrep/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PrashantGoyal/SmartPrep/resolve/main/Dockerfile
488 Bytes
| FROM python:3.10-slim | |
| WORKDIR /Transformers | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| gcc \ | |
| g++ \ | |
| cmake \ | |
| curl \ | |
| libglib2.0-0 \ | |
| libsm6 \ | |
| libxext6 \ | |
| libxrender-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN python -m pip install --upgrade pip setuptools wheel \ | |
| && python -m pip install -r requirements.txt --no-cache-dir | |
| COPY . . | |
| CMD ["uvicorn", "App.app:app", "--host", "0.0.0.0", "--port", "7860"] | |