@@ -8,7 +8,9 @@ ENV TZ=Europe/Ljubljana
88# thanks to https://github.com/bschiffthaler/ngs/blob/master/base/Dockerfile
99# and https://github.com/AveraSD/ngs-docker-star/blob/master/Dockerfile
1010
11- SHELL ["/bin/bash" , "-c" ]
11+ SHELL ["/bin/bash" , "--login" , "-c" ]
12+
13+ RUN apt-get install -y vim
1214
1315RUN conda update -n base -c defaults conda -y
1416RUN conda install -c conda-forge mamba -y
@@ -36,14 +38,20 @@ RUN chown -R icuser.icuser /home/icuser
3638USER icuser
3739WORKDIR /home/icuser
3840RUN mkdir /home/icuser/storage
39- RUN git clone https://github.com/tomazc/iCount.git --branch snakemake
41+ # RUN git clone https://github.com/tomazc/iCount.git --branch snakemake
42+ COPY . /home/icuser/iCount
4043
4144RUN conda create -c conda-forge -c bioconda -n iCount_pipeline3 -y
4245RUN conda init bash
4346RUN echo "conda activate iCount_pipeline3" >> ~/.bashrc
44- # RUN conda env update --file iCount/conda_iCount.yaml # needs ~ 4 GB RAM, otherwise killed
45- # RUN pip install ./iCount
4647
47- # ENV PATH /home/icuser/bin:$PATH
48- # WORKDIR /home/icuser
49- # CMD ["/bin/bash"]
48+ SHELL ["conda" , "run" , "-n" , "iCount_pipeline3" , "/bin/bash" , "-c" ]
49+
50+ # ## needs ~ 4 GB RAM, otherwise killed
51+ RUN conda env update --file iCount/conda_iCount.yaml
52+
53+ RUN pip install ./iCount
54+
55+ ENV PATH /home/icuser/bin:$PATH
56+ WORKDIR /home/icuser
57+ CMD ["/bin/bash" ]
0 commit comments