Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangwooLim authored Oct 11, 2024
1 parent be6046d commit f0c1305
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -65,4 +66,4 @@ COPY supervisord.conf /etc/supervisord.conf
EXPOSE 3838 8787

# Set the entrypoint
ENTRYPOINT ["/bin/bash", "/usr/local/bin/entrypoint.sh"]
ENTRYPOINT ["/bin/bash", "/usr/local/bin/entrypoint.sh"]

0 comments on commit f0c1305

Please sign in to comment.