-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ohsu-comp-bio/cm4ai
CM4AI Image
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# use base image | ||
FROM quay.io/ohsu-comp-bio/bridge2ai-jupyter:restricted-gpu-root | ||
|
||
# return to non-root user | ||
USER $NB_UID | ||
WORKDIR /home/$NB_USER | ||
|
||
# create environments | ||
RUN git clone --recurse-submodules https://github.com/wadeschulz/b2ai-f2f.git | ||
RUN cd b2ai-f2f && conda env create -f hpa_densenet.yml | ||
RUN cd b2ai-f2f && conda env create -f perturbseq.yml | ||
RUN cd b2ai-f2f && conda env create -f pipeline.yml | ||
|
||
# additional cellmap pipeline setup from readme | ||
SHELL ["conda", "run", "-n", "cm4ai-pipeline", "/bin/bash", "-c"] | ||
RUN cd b2ai-f2f/cellmaps_pipeline \ | ||
&& make dist \ | ||
&& pip install dist/cellmaps_pipeline*whl | ||
|
||
RUN conda init bash && exec bash |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# CM4AI | ||
|
||
Docker file for CM4AI. Builds off `restricted-gpu-root` image, reverting use back to non-root privileges. Creates individual conda environments for hpa_densenet, perturbseq, and cellmaps pipeline. |