Spaces:
Sleeping
Sleeping
Download Dockerfile from moleculeAI/ClinSift: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/spaces/moleculeAI/ClinSift/resolve/refs%2Fpr%2F3/Dockerfile
- Command line
-
hf download hf://spaces/moleculeAI/ClinSift@refs/pr/3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/moleculeAI/ClinSift/resolve/refs%2Fpr%2F3/Dockerfile
466 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # rdkit drawing needs a couple of system libs | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libxrender1 libxext6 libexpat1 libxau6 && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # HuggingFace Spaces expects the app on port 7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |
| # cache-bust 1783301098 | |