Last active
December 20, 2025 10:37
-
-
Save kojix2/5db6bd5223f6a685ed9f93c0721d1b89 to your computer and use it in GitHub Desktop.
phylogicNDT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM mambaorg/micromamba:latest | |
| SHELL ["/bin/bash", "-lc"] | |
| WORKDIR /phylogicndt | |
| USER root | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| graphviz graphviz-dev pkg-config \ | |
| && rm -rf /var/lib/apt/lists/* | |
| USER mambauser | |
| RUN micromamba create -y -n phylogic -c conda-forge \ | |
| python=3.8 \ | |
| pip git compilers make \ | |
| numpy scipy matplotlib pandas scikit-learn \ | |
| r-base tk graphviz pygraphviz \ | |
| && micromamba clean -a -y | |
| ENV MAMBA_DOCKERFILE_ACTIVATE=1 | |
| ENV PATH=/opt/conda/envs/phylogic/bin:/opt/conda/bin:$PATH | |
| COPY req /tmp/req | |
| RUN micromamba run -n phylogic pip install -U "pip<25.1" "setuptools<81" wheel \ | |
| && grep -vE '^(intervaltree==|networkx==|scikit-learn==)' /tmp/req > /tmp/req.fixed \ | |
| && micromamba run -n phylogic pip install --prefer-binary -r /tmp/req.fixed \ | |
| && micromamba run -n phylogic pip install -U intervaltree sortedcontainers "networkx>=2.8" \ | |
| && micromamba run -n phylogic pip install --no-build-isolation \ | |
| git+https://github.com/rmcgibbo/logsumexp.git#egg=sselogsumexp | |
| COPY . /phylogicndt/ | |
| ENV PYTHONPATH=/phylogicndt:/phylogicndt/data:/phylogicndt/PhylogicSim:/phylogicndt/Cluster:/phylogicndt/BuildTree:/phylogicndt/GrowthKinetics:/phylogicndt/SinglePatientTiming:/phylogicndt/LeagueModel:/phylogicndt/utils | |
| WORKDIR /phylogicndt | |
| ENTRYPOINT ["micromamba", "run", "-n", "phylogic"] | |
| CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment