File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM pytorch/pytorch:2.2.1-cuda11.8-cudnn8-runtime
2+
3+ LABEL authors="Colby T. Ford <colby@tuple.xyz>"
4+
5+ # # Install system requirements
6+ RUN apt update && \
7+ apt-get install -y --reinstall \
8+ ca-certificates && \
9+ apt install -y \
10+ git \
11+ wget \
12+ libxml2 \
13+ libgl-dev \
14+ libgl1 \
15+ gcc \
16+ g++
17+
18+ # # Set working directory
19+ RUN mkdir -p /software/flowdock
20+ WORKDIR /software/flowdock
21+
22+ # # Clone project
23+ RUN git clone https://github.com/BioinfoMachineLearning/FlowDock /software/flowdock
24+
25+ # # Create conda environment
26+ RUN conda env create -f environments/flowdock_environment.yaml
27+
28+ # # Automatically activate conda environment
29+ RUN echo "source activate FlowDock" >> /etc/profile.d/conda.sh && \
30+ echo "source /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
31+ echo "conda activate FlowDock" >> ~/.bashrc
32+
33+
34+ # conda activate FlowDock # NOTE: one still needs to use `conda` to (de)activate environments
35+ # pip3 install -e . # install local project as package
36+
37+
38+ # # Default shell and command
39+ SHELL ["/bin/bash" , "-l" , "-c" ]
40+ CMD ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments