Skip to content

Commit cc78268

Browse files
committed
Add back build variables for Docker
1 parent 2768b1d commit cc78268

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ENV NB_UID=jovyan
2222
ENV FOLDER=netpyne
2323
ENV NP_LFPYKIT_HEAD_FILE=/home/jovyan/nyhead.mat
2424
ARG BUILD_ARGS=""
25+
ARG WORKSPACE_VERSION=master
2526

2627
USER root
2728

@@ -67,7 +68,7 @@ RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
6768
RUN jupyter serverextension enable --py --sys-prefix jupyter_geppetto
6869

6970
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
70-
python utilities/install.py ${BUILD_ARGS} --npm-skip --no-test
71+
python utilities/install.py ${BUILD_ARGS} --workspace $WORKSPACE_VERSION
7172

7273

7374
RUN mv workspace /opt/workspace/tutorials

0 commit comments

Comments
 (0)