File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,13 +2,23 @@ FROM metacell/jupyter-neuron:latest
22# Switch to non sudo, create a Python 3 virtual environment
33USER $NB_USER
44
5+ ARG netpyneuiBranch=development
6+ ENV netpyneuiBranch=${netpyneuiBranch}
7+ RUN echo "$netpyneuiBranch" ;
8+
59ARG INCUBATOR_VER=unknown
610RUN /bin/bash -c "INCUBATOR_VER=${INCUBATOR_VER} source activate snakes && pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple netpyne_ui"
711RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py jupyter_geppetto"
812RUN /bin/bash -c "source activate snakes && jupyter serverextension enable --py jupyter_geppetto"
913RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py widgetsnbextension"
1014
15+ WORKDIR /home/jovyan/work
16+ # Clone NetPyNE-UI to use the test folder
17+ RUN wget https://github.com/MetaCell/NetPyNE-UI/archive/$netpyneuiBranch.zip -q
18+ RUN unzip $netpyneuiBranch.zip
19+
1120WORKDIR /home/jovyan
1221RUN git clone --branch CNS18 https://github.com/Neurosim-lab/netpyne_workspace
1322WORKDIR /home/jovyan/netpyne_workspace
23+ RUN ln -sfn /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/netpyne_ui/tests tests
1424CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui"
You can’t perform that action at this time.
0 commit comments