Skip to content

Commit 069e51a

Browse files
committed
add symbolic link for test folder for testing purposes
1 parent 712df19 commit 069e51a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@ FROM metacell/jupyter-neuron:latest
22
# Switch to non sudo, create a Python 3 virtual environment
33
USER $NB_USER
44

5+
ARG netpyneuiBranch=development
6+
ENV netpyneuiBranch=${netpyneuiBranch}
7+
RUN echo "$netpyneuiBranch";
8+
59
ARG INCUBATOR_VER=unknown
610
RUN /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"
711
RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py jupyter_geppetto"
812
RUN /bin/bash -c "source activate snakes && jupyter serverextension enable --py jupyter_geppetto"
913
RUN /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+
1120
WORKDIR /home/jovyan
1221
RUN git clone --branch CNS18 https://github.com/Neurosim-lab/netpyne_workspace
1322
WORKDIR /home/jovyan/netpyne_workspace
23+
RUN ln -sfn /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/netpyne_ui/tests tests
1424
CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui"

0 commit comments

Comments
 (0)