Loading Dockerfile +3 −3 Original line number Diff line number Diff line Loading @@ -20,10 +20,10 @@ RUN apt-get update && \ apt-get clean USER root # install renv & restore packages RUN Rscript -e 'install.packages("plotly", dependencies = TRUE, repos = "https://cloud.r-project.org")' RUN R -e 'install.packages("plotly", dependencies = TRUE, repos = "https://cloud.r-project.org")' # expose port EXPOSE 3838 # run app on container start CMD ["R", "-e", "shiny::runApp('/app', host = '0.0.0.0', port = 3838)"] # run app CMD ["/usr/bin/shiny-server"] Loading
Dockerfile +3 −3 Original line number Diff line number Diff line Loading @@ -20,10 +20,10 @@ RUN apt-get update && \ apt-get clean USER root # install renv & restore packages RUN Rscript -e 'install.packages("plotly", dependencies = TRUE, repos = "https://cloud.r-project.org")' RUN R -e 'install.packages("plotly", dependencies = TRUE, repos = "https://cloud.r-project.org")' # expose port EXPOSE 3838 # run app on container start CMD ["R", "-e", "shiny::runApp('/app', host = '0.0.0.0', port = 3838)"] # run app CMD ["/usr/bin/shiny-server"]