Skip to content
Snippets Groups Projects
Commit 987494dd authored by alice grosch's avatar alice grosch
Browse files

Update ENTRYPOINT cmd

parent 58601e4e
No related branches found
No related tags found
1 merge request!2restructure User Images
Pipeline #165266 passed
......@@ -46,7 +46,8 @@ RUN /bin/bash /opt/apps/install/lmod/install_lmod_8.7.sh
WORKDIR /home/$NB_USER
COPY files/bash.bashrc /etc/bash.bashrc
COPY files/mnt.sh /tmp/mnt.sh
COPY files/load_modules.sh /tmp/custom/load_modules.sh
RUN /bin/bash /tmp/mnt.sh && rm /tmp/mnt.sh
USER jovyan
ENTRYPOINT ["/bin/bash", "/tmp/custom/load_jupyter_version.sh", "&&", "/bin/bash", "/tmp/custom/load_jupyter_modules.sh"]
\ No newline at end of file
ENTRYPOINT ["/bin/bash", "-l", "-c", "source /tmp/custom/load_modules.sh"]
\ No newline at end of file
#!/bin/bash
source /tmp/custom/load_jupyter_version.sh
source /tmp/custom/load_jupyter_modules.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment