File tree 2 files changed +16
-10
lines changed
2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,8 @@ RUN apt-get -qq update \
24
24
&& apt-get -qq clean \
25
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
26
26
27
- RUN pip --no-cache-dir install -q --upgrade \
28
- pip \
29
- setuptools \
30
- wheel
27
+ RUN pip --no-cache-dir install -q --upgrade pip setuptools wheel
28
+
31
29
RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
32
30
h5py \
33
31
jupyterlab \
@@ -40,7 +38,12 @@ RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
40
38
pyyaml \
41
39
scikit-learn \
42
40
scikit-image \
43
- seaborn
41
+ seaborn \
42
+ tornado
43
+
44
+ # jupyter-tensorboard need tornado first
45
+ RUN pip --no-cache-dir install -q --upgrade --use-feature=2020-resolver \
46
+ jupyter-tensorboard
44
47
45
48
# Set up our notebook config.
46
49
COPY jupyter_notebook_config.py /root/.jupyter/
Original file line number Diff line number Diff line change @@ -24,10 +24,8 @@ RUN apt-get -qq update \
24
24
&& apt-get -qq clean \
25
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
26
26
27
- RUN pip --no-cache-dir install -q --upgrade \
28
- pip \
29
- setuptools \
30
- wheel
27
+ RUN pip --no-cache-dir install -q --upgrade pip setuptools wheel
28
+
31
29
RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
32
30
h5py \
33
31
jupyterlab \
@@ -40,7 +38,12 @@ RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
40
38
pyyaml \
41
39
scikit-learn \
42
40
scikit-image \
43
- seaborn
41
+ seaborn \
42
+ tornado
43
+
44
+ # jupyter-tensorboard need tornado first
45
+ RUN pip --no-cache-dir install -q --upgrade --use-feature=2020-resolver \
46
+ jupyter-tensorboard
44
47
45
48
# Set up our notebook config.
46
49
COPY jupyter_notebook_config.py /root/.jupyter/
You can’t perform that action at this time.
0 commit comments