@@ -25,7 +25,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
25
25
NODE_OPTIONS="--max-old-space-size=4096" \
26
26
LANG=C.UTF-8
27
27
28
- RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
28
+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 && \
29
+ python3 -m pip install -U setuptools pip
29
30
30
31
# install NLP packages *mecab-ko & khai*
31
32
RUN apt-get update && \
@@ -174,19 +175,11 @@ WORKDIR /tmp
174
175
RUN python3 -m pip install --no-cache-dir \
175
176
Cython==0.29.21 \
176
177
numpy==1.19.5 \
178
+ jupyterlab==2.3.1 \
177
179
argon2_cffi==20.1.0
178
180
COPY ./requirements.py36.txt /tmp
179
181
RUN python3 -m pip install --no-cache-dir -r requirements.py36.txt && \
180
182
rm -f /tmp/*.whl /tmp/requirements.py36.txt
181
- ENV SCIPY_VERSION 1.5.4
182
- # Install scipy
183
- RUN cd /tmp && \
184
- git clone --branch=v${SCIPY_VERSION} --depth=1 https://github.com/scipy/scipy.git scipy && \
185
- cd scipy && \
186
- git checkout -b v${SCIPY_VERSION} && \
187
- cp site.cfg.example site.cfg && \
188
- pip uninstall -y typing && \
189
- python3 -m pip install .
190
183
191
184
# Install Open MPI
192
185
RUN mkdir /tmp/openmpi && \
@@ -222,14 +215,14 @@ RUN jupyter nbextensions_configurator enable && \
222
215
jupyter serverextension enable --py jupyterlab --sys-prefix && \
223
216
jupyter serverextension enable --py jupyter_lsp && \
224
217
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build && \
225
- jupyter labextension install jupyterlab-jupytext@1.2.2 --no-build && \
218
+ jupyter labextension install jupyterlab-jupytext --no-build && \
226
219
jupyter labextension install @jupyterlab/toc --no-build && \
227
220
jupyter labextension install @kiteco/jupyterlab-kite --no-build && \
228
- jupyter labextension install jupyterlab-flake8 --no-build && \
229
- jupyter labextension install @pyviz/jupyterlab_pyviz --no-build && \
221
+ # jupyter labextension install jupyterlab-flake8 --no-build && \
222
+ # jupyter labextension install @pyviz/jupyterlab_pyviz --no-build && \
230
223
jupyter labextension install @bokeh/jupyter_bokeh --no-build && \
231
- jupyter labextension install jupyterlab-nvdashboard --no-build && \
232
- jupyter lab build
224
+ # jupyter labextension install jupyterlab-nvdashboard --no-build && \
225
+ jupyter lab build --dev-build=False --minimize=False
233
226
234
227
RUN apt autoclean && \
235
228
sed -i 's/source \/ usr\/ local\/ nvm\/ nvm.sh//' /etc/bash.bashrc && \
0 commit comments