diff --git a/data_science_im_rs/Dockerfile b/data_science_im_rs/Dockerfile index 254ee8d..a08d2f6 100644 --- a/data_science_im_rs/Dockerfile +++ b/data_science_im_rs/Dockerfile @@ -13,6 +13,8 @@ SHELL ["/bin/bash", "-c"] USER root SHELL ["/bin/bash", "-c"] +ADD settings.json /home/coder/.local/share/code-server/User/settings.json + #Prepare image to work on SLURM, build folder structure to be able to bind mount the IDL kernel, install Rstudio server and install VSCode server. RUN chmod -R 777 /home/jovyan && \ mkdir /usr/share/jupyter && \ @@ -52,6 +54,7 @@ RUN chmod -R 777 /home/jovyan && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* + USER $NB_UID #Install Python and R packages in the py_geo and r_geo environmets, respectively. COPY py_geo.yml .