-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 982 Bytes
/
Dockerfile
File metadata and controls
21 lines (17 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# The purpose of this Dockerfile is to serve as skeleton for a future production version.
# Therefore currently it is NOT functional
FROM metacell/jupyter-neuron:latest
USER $NB_USER
ARG hnnuiBranch=development
ENV hnnuiBranch=${hnnuiBranch}
RUN echo "$hnnuiBranch";
ARG INCUBATOR_VER=unknown
RUN /bin/bash -c "INCUBATOR_VER=${INCUBATOR_VER} source activate snakes && pip install netpyne_ui"
RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py jupyter_geppetto"
RUN /bin/bash -c "source activate snakes && jupyter serverextension enable --py jupyter_geppetto"
RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py widgetsnbextension"
WORKDIR /home/jovyan/work
RUN wget https://github.com/MetaCell/HNN-UI/archive/$hnnuiBranch.zip -q
RUN unzip $hnnuiBranch.zip
WORKDIR /home/jovyan/work/HNN-UI-$hnnuiBranch/utilities
CMD /bin/bash -c "exec jupyter notebook --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=hnn_ui"