-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
33 lines (30 loc) · 1.43 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
FROM jehyunlee/01_anaconda:01_jlab
MAINTAINER Jehyun Lee <jehyun.lee@gmail.com>
USER root
RUN apt-get update
#>>>>> jupyter lab extensions
RUN conda install -c conda-forge ipywidgets
RUN jupyter labextension install @jupyterlab/github \
&& apt-get install -y texlive-xetex texlive-fonts-recommended texlive-generic-recommended \
&& apt-get install -y texlive-generic-extra \
&& pip install jupyterlab-latex \
&& jupyter labextension install @jupyterlab/latex \
&& jupyter labextension install jupyterlab-drawio \
&& jupyter labextension install @krassowski/jupyterlab_go_to_definition \
&& conda install -c conda-forge black \
&& jupyter labextension install @ryantam626/jupyterlab_code_formatter \
&& conda install -c conda-forge jupyterlab_code_formatter \
&& jupyter serverextension enable --py jupyterlab_code_formatter \
&& jupyter labextension install @jupyterlab/toc \
&& jupyter labextension install @jupyterlab/google-drive \
&& jupyter labextension install @jupyterlab/mathjax3-extension \
&& jupyter labextension install @deathbeds/jupyterlab_graphviz \
&& jupyter labextension install @jupyterlab/git \
&& pip install --upgrade jupyterlab-git \
&& jupyter lab build \
&& echo "c.LatexConfig.latex_command = 'pdflatex'" >> ~root/.jupyter/jupyter_notebook_config.py
#<<<<<< jupyter lab extensions
# Working enviroment preparation
WORKDIR /workplace
EXPOSE 8888
CMD /app/start.sh