Skip to content

Commit a8f54cf

Browse files
authored
moving code to /root
moving install code to /root
1 parent 58f6707 commit a8f54cf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RUN pip3 install --upgrade setuptools pip
2626
RUN pip3 install jupyter notebook
2727
RUN pip3 install https://github.com/betatim/nbserverproxy/archive/master.zip
2828

29+
ENV HOME /root
2930
# Copy repo into ${HOME}, make user own $HOME
3031
COPY . ${HOME}
3132

@@ -37,10 +38,6 @@ RUN jupyter nbextension install --py nbdlstudioproxy
3738
RUN jupyter nbextension enable --py nbdlstudioproxy
3839

3940
RUN chown -R ${NB_USER} ${HOME}
40-
ENV HOME /root
41-
# Copy repo into ${HOME}, make user own $HOME
42-
COPY . ${HOME}
43-
RUN chown -R ${NB_USER} /root
4441

4542
WORKDIR ${HOME}/digits
4643
RUN python setup.py install

0 commit comments

Comments
 (0)