diff --git a/docker-compose/jupyter/Dockerfile b/docker-compose/jupyter/Dockerfile index 97ef7ca63daa60331ae0e8dee8f5d70fa143be44..da3f1da1c5bc09fa4a1861377d2533faca70535a 100644 --- a/docker-compose/jupyter/Dockerfile +++ b/docker-compose/jupyter/Dockerfile @@ -13,7 +13,7 @@ RUN sudo jupyter nbextension enable jupyter_bokeh --py --sys-prefix # Install profiles for ipython & jupyter COPY ipython-profiles /opt/ipython-profiles/ -RUN sudo chown tango.tango -R /opt/ipython-profiles +RUN sudo chmod a+rw -R /opt/ipython-profiles COPY jupyter-kernels /usr/local/share/jupyter/kernels/ # Install patched jupyter executable @@ -27,5 +27,6 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/ RUN sudo chmod +x /usr/bin/tini # Make sure Jupyter can write to the home directory -ENV HOME=/home/tango -RUN chmod a+rwx /home/tango +ENV HOME=/home/user +RUN sudo mkdir -p $HOME +RUN sudo chmod a+rwx $HOME