-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (27 loc) · 934 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
32
##
## SEE :
## jupyter/base-notebook @ https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html
## https://github.com/spicytechs/PhysX/blob/4.1/Actions/Dockerfile.binder
##
FROM jupyter/base-notebook:latest AS notebook_setup
## BASIC
USER root
RUN apt-get --yes -qq update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get --yes -qq update
RUN apt-get --yes -qq install vim
## VTK
RUN apt-get --yes -qq install libgl1-mesa-dev # libEGL.so.1
#RUN apt-get --yes -qq install libxrender-dev
RUN conda install -c conda-forge vtk
RUN conda install -c anaconda numpy
RUN conda install -c conda-forge nodejs
## JOVYAN
FROM notebook_setup AS notebook_execute
ENV NB_USER="jovyan"
WORKDIR /home/jovyan/work
RUN chown -R ${NB_USER} /home/jovyan/work
COPY ./ /home/jovyan/work/
## jupyter password
## http://localhost:10000/?token=TOKEN_CODE
## jupyter server list