Spaces:
Runtime error
Runtime error
Download Dockerfile from rahafahmad89/Pathogenicitypredictor: direct link, hf CLI and curl.
- Browser
- Download file 669 Bytes
-
https://huggingface.co/spaces/rahafahmad89/Pathogenicitypredictor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rahafahmad89/Pathogenicitypredictor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rahafahmad89/Pathogenicitypredictor/resolve/main/Dockerfile
669 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # System deps commonly needed for pillow/matplotlib and general stability | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git \ | |
| git-lfs \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| libgl1 \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && git lfs install | |
| # Install python deps | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -U pip && \ | |
| pip install --no-cache-dir -r /app/requirements.txt | |
| # Copy app + artifacts | |
| COPY . /app | |
| # Hugging Face sets PORT sometimes; default to 7860 | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| ENV GRADIO_SERVER_PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |