1- FROM metacell /jupyter-neuron:latest
1+ FROM frodriguez4600 /jupyter-neuron:v7.8.0
22USER $NB_USER
33
4- ARG netpyneuiBranch=development
5- ENV netpyneuiBranch=${netpyneuiBranch}
6- RUN echo "$netpyneuiBranch" ;
4+ ARG branch=development
5+ RUN echo "$branch" ;
76
8- ARG INCUBATOR_VER=unknown
9- RUN /bin/bash -c "INCUBATOR_VER=${INCUBATOR_VER} source activate snakes && pip install netpyne_ui"
10- RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py jupyter_geppetto"
11- RUN /bin/bash -c "source activate snakes && jupyter serverextension enable --py jupyter_geppetto"
12- RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py widgetsnbextension"
7+ ENV INSTALLATION_FOLDER=/home/jovyan/work/NetPyNE-UI
8+ WORKDIR /home/jovyan/work
139
14- WORKDIR /home/jovyan
15- RUN git clone --branch v0.5 https://github.com/Neurosim-lab/netpyne_workspace
16- WORKDIR /home/jovyan/netpyne_workspace
10+ COPY --chown=1000:1000 . NetPyNE-UI
11+ WORKDIR ${INSTALLATION_FOLDER}/utilities
1712
18- # Uncomment to run travis using this Dockerfile
19- # Clone the source code and creates a symlink to the test folder
20- WORKDIR /home/jovyan/work
21- RUN wget https://github.com/MetaCell/NetPyNE-UI/archive/$netpyneuiBranch.zip -q
22- RUN unzip $netpyneuiBranch.zip
23- WORKDIR /home/jovyan/netpyne_workspace
24- RUN ln -sfn /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/netpyne_ui/tests tests
13+ RUN python install.py branch $branch
14+
15+ WORKDIR ${INSTALLATION_FOLDER}
2516
26- CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui --NotebookApp.disable_check_xsrf=True"
17+ CMD /bin/bash -c "jupyter notebook --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui --NotebookApp.disable_check_xsrf=True"
0 commit comments