-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (29 loc) · 1.17 KB
/
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
35
36
37
38
ARG BASE_IMAGE=rapidsai/rapidsai:22.12-cuda11.5-runtime-ubuntu18.04-py3.9
FROM ${BASE_IMAGE}
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
git python3-setuptools python3-pip build-essential libcurl4-gnutls-dev \
zlib1g-dev rsync vim cmake tabix
RUN git clone \
https://github.com/cjnolet/AtacWorks.git atacworks
RUN /opt/conda/envs/rapids/bin/pip install \
scanpy==1.9.1 wget pytabix dash-daq \
dash-html-components dash-bootstrap-components dash-core-components
RUN cd atacworks && /opt/conda/envs/rapids/bin/pip install .
WORKDIR /workspace
ENV HOME /workspace
RUN git clone \
https://github.com/NVIDIA-Genomics-Research/rapids-single-cell-examples.git \
rapids-single-cell-examples
ARG GIT_BRANCH=master
RUN cd rapids-single-cell-examples && git checkout ${GIT_BRANCH} && git pull
CMD jupyter-lab \
--no-browser \
--allow-root \
--port=8888 \
--ip=0.0.0.0 \
--notebook-dir=/workspace \
--NotebookApp.password="" \
--NotebookApp.token="" \
--NotebookApp.password_required=False
# ENV LD_LIBRARY_PATH /usr/local/cuda-11.5/compat
# RUN echo "export PATH=$PATH:/workspace/data" >> ~/.bashrc