You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2019/05/21 08:13:44 UTC

[incubator-dlab] branch DLAB-433 updated: [DLAB-433] Demo-version(bugfix[2])

This is an automated email from the ASF dual-hosted git repository.

dmysakovets pushed a commit to branch DLAB-433
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-433 by this push:
     new cb018ee  [DLAB-433] Demo-version(bugfix[2])
cb018ee is described below

commit cb018eebe5bc8ae1b868046bbfdba913e138d84b
Author: Dyoma33 <de...@gmail.com>
AuthorDate: Tue May 21 11:13:37 2019 +0300

    [DLAB-433] Demo-version(bugfix[2])
---
 infrastructure-provisioning/src/jupyter-docker/Dockerfile_jupyter | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/jupyter-docker/Dockerfile_jupyter b/infrastructure-provisioning/src/jupyter-docker/Dockerfile_jupyter
index bccc6aa..c6875af 100644
--- a/infrastructure-provisioning/src/jupyter-docker/Dockerfile_jupyter
+++ b/infrastructure-provisioning/src/jupyter-docker/Dockerfile_jupyter
@@ -27,11 +27,14 @@ RUN useradd -u 1001 -ms /bin/bash $NB_USER
 
 EXPOSE 8888
 
+COPY jupyter_notebook_config.py /etc/jupyter/jupyter_notebook_config.py
+
 #Prepearing Start script
 COPY jupyter_run.sh /jupyter_run.sh
-RUN  sed -i 's|CONF_PATH|/home/nb_user/.local/share/jupyter/jupyter_notebook_config.py|' /jupyter_run.sh \
+RUN  sed -i 's|CONF_PATH|/etc/jupyter/jupyter_notebook_config.py|' /jupyter_run.sh \
   && chmod +x /jupyter_run.sh \
-  && chown -R 1001:1001 /home/$NB_USER/.local/share/jupyter
+  && chown -R 1001:1001 /etc/jupyter \
+  && chown -R 1001:1001 /opt/legion
 
 USER $NB_USER
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org