FROM rocker/shiny-verse:latest WORKDIR /code # Install stable packages from CRAN RUN install2.r --error \ ggExtra \ readr \ caret \ fastshap \ ggplot2 \ ggExtra \ forcats \ shiny RUN install2.r --error \ devtools RUN R -e "devtools::install_url('https://github.com/catboost/catboost/releases/download/v1.2/catboost-R-Linux-1.2.tgz', INSTALL_opts = c('--no-multiarch', '--no-test-load'))" # Install development packages from GitHub RUN installGithub.r \ rstudio/bslib \ rstudio/httpuv COPY . . CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]