-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
34 lines (24 loc) · 825 Bytes
/
Dockerfile
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
26
27
28
29
30
31
32
33
34
FROM debian:stable-20220316
USER root
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Install miniconda
ENV PATH=$PATH:/root/miniconda3/bin
ARG PATH=$PATH:/root/miniconda3/bin
RUN apt-get update
RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
RUN wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --no-check-certificate \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh
RUN conda --version
# Copy source files of scRNASequest
RUN mkdir /home/scRNASequest
WORKDIR /home/scRNASequest
COPY . .
# Install scRNASequest env
RUN bash install.sh
ENV PATH=$PATH:/home/scRNASequest
# Keep the container running
CMD while true; do sleep 1000; done