Skip to content

Commit

Permalink
add extra R pkg dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed May 2, 2024
1 parent 5be463e commit 1e80e56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ RUN apt update -qq \
&& apt-get install -y --no-install-recommends r-base \
&& apt-get install -y --no-install-recommends r-cran-rcpp r-cran-data.table r-cran-jsonlite r-cran-zip \
&& apt-get install -y --no-install-recommends r-cran-shiny \
&& apt-get install -y --no-install-recommends r-cran-htmltools r-cran-rmarkdown r-cran-shinydashboard \
&& apt-get install -y --no-install-recommends r-cran-reticulate \
&& apt-get autoremove -y --quiet \
&& apt-get clean --quiet \
&& rm -rf /var/lib/apt/lists/*
RUN Rscript -e "install.packages(c('bslib', 'flexdashboard'), repos = c(CRAN = 'https://cran.r-project.org/'), clean = TRUE)"

RUN echo "\noptions(shiny.port = 3838, shiny.host = '0.0.0.0')" >> /etc/R/Rprofile.site

Expand Down

0 comments on commit 1e80e56

Please sign in to comment.