-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile.gpu
52 lines (45 loc) · 1.16 KB
/
Dockerfile.gpu
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM tensorflow/tensorflow:latest-gpu-py3
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
RUN git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it && \
bash ~/.bash_it/install.sh --silent
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
apt-get install -y nodejs texlive-latex-extra texlive-xetex && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip && \
pip install --upgrade \
jupyterlab==1.2.6 \
ipywidgets \
jupyterlab_latex \
plotly \
bokeh \
numpy \
scipy \
numexpr \
patsy \
scikit-learn \
scikit-image \
matplotlib \
ipython \
pandas \
sympy \
seaborn \
nose \
jupyterlab-git && \
jupyter labextension install \
@jupyter-widgets/jupyterlab-manager \
@jupyterlab/latex \
jupyterlab-drawio \
jupyterlab-plotly \
@bokeh/jupyter_bokeh \
@jupyterlab/git \
@mflevine/jupyterlab_html \
jupyterlab-spreadsheet
COPY bin/entrypoint.sh /usr/local/bin/
COPY config/ /root/.jupyter/
EXPOSE 8888
VOLUME /notebooks
WORKDIR /notebooks
ENTRYPOINT ["entrypoint.sh"]