From f0c130538dc493e8ffe5156043e8a40cbe8c5ec3 Mon Sep 17 00:00:00 2001 From: Changwoo Lim <86377226+ChangwooLim@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:18:27 +0900 Subject: [PATCH] Update dockerfile --- dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index 4d70810..f5922dc 100644 --- a/dockerfile +++ b/dockerfile @@ -47,9 +47,10 @@ RUN /rocker_scripts/install_rstudio.sh COPY entrypoint.sh /usr/local/bin/entrypoint.sh COPY create_user.sh /usr/local/bin/create_user.sh COPY google-authenticator.sh /usr/local/bin/google-authenticator.sh +COPY cleanup_rstudio_session.sh /usr/local/bin/cleanup_rstudio_session.sh COPY shiny-server.conf /etc/shiny-server/shiny-server.conf -RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/create_user.sh /usr/local/bin/google-authenticator.sh +RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/create_user.sh /usr/local/bin/google-authenticator.sh /usr/local/bin/cleanup_rstudio_session.sh # Define argument for username and password with default values ARG USERNAME=limcw @@ -65,4 +66,4 @@ COPY supervisord.conf /etc/supervisord.conf EXPOSE 3838 8787 # Set the entrypoint -ENTRYPOINT ["/bin/bash", "/usr/local/bin/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/bin/bash", "/usr/local/bin/entrypoint.sh"]