Download Dockerfile from GENOMICS-CDDBRG/Phylogenetic_Tree_Builder: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/spaces/GENOMICS-CDDBRG/Phylogenetic_Tree_Builder/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/GENOMICS-CDDBRG/Phylogenetic_Tree_Builder/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/GENOMICS-CDDBRG/Phylogenetic_Tree_Builder/resolve/main/Dockerfile
529 Bytes
| FROM python:3.11-slim | |
| ENV DEBIAN_FRONTEND=noninteractive \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| mafft \ | |
| fasttree \ | |
| gcc \ | |
| g++ \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt /tmp/requirements.txt | |
| RUN pip install --no-cache-dir -r /tmp/requirements.txt | |
| COPY app.py /app/app.py | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"] |