-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 918 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Use the specified base image
FROM openproblems/base_pytorch_nvidia:1
# Install Python packages using pip
ADD https://astral.sh/uv/install.sh /uv-installer.sh
# Run the installer then remove it
RUN sh /uv-installer.sh && rm /uv-installer.sh
# Ensure the installed binary is on the `PATH`
ENV PATH="/root/.local/bin/:$PATH"
RUN uv pip install --system scprint2
RUN lamin init --storage ./main --name main --modules bionty
RUN lamin load anonymous/main
RUN python -c 'import bionty as bt;bt.core.sync_all_sources_to_latest()'
RUN python -c 'from scdataloader.utils import populate_my_ontology;\
populate_my_ontology(organisms_clade=["vertebrates"],\
sex=["PATO:0000384", "PATO:0000383"],\
organisms=["NCBITaxon:10090", "NCBITaxon:9606"],)'
RUN python -c 'from scdataloader.utils import _adding_scbasecamp_genes; _adding_scbasecamp_genes()'
# Set the default command (can be overridden)
CMD ["scprint2", "--help"]