forked from rapidsai-community/notebooks-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (23 loc) · 992 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
FROM rapidsai/rapidsai:cuda9.2-runtime-ubuntu16.04
SHELL ["/bin/bash", "-c"]
RUN source activate rapids && conda install -y \
matplotlib \
scikit-learn \
seaborn \
python-louvain \
jinja2 \
&& pip install graphistry mockito
RUN source activate rapids && conda install -c \
nvidia/label/cuda10.0 -c rapidsai/label/cuda10.0 -c numba -c conda-forge -c defaults cugraph
RUN apt update &&\
apt install -y graphviz &&\
source activate rapids && pip install graphviz
# ToDo: let user supply kaggle creds
RUN source activate rapids && pip install kaggle
WORKDIR /rapids/notebooks/extended
# Add everthing from the local build context (incuding the data folder)
ADD . .
# move /rapids/notebooks/extended/data to /data, then symlink
# so users can browse the data directory inside JupyterLab
RUN mv data /data && ln -s /data /rapids/notebooks/extended/data
CMD source activate rapids && sh /rapids/notebooks/utils/start-jupyter.sh