diff --git a/Dockerfile b/Dockerfile index ac62e4c35e1b1bb78f038550498e4eff8cdf4082..85da6174a7ab8ac6109d1411f4ea1b4467874f6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ RUN R -e "install.packages(c('shiny', 'shinydashboard', 'remotes','readxl'), rep RUN echo 'options(radiant.shinyFiles = FALSE)' >> /usr/local/lib/R/etc/Rprofile.site COPY . /srv/shiny-server/ COPY set_path.R /usr/local/lib/R/etc/Rprofile.site.d/00-radiant-path.R -RUN echo 'source("/srv/shiny-server/radiant.model/R/coxp.R")' >> /usr/local/lib/R/etc/Rprofile.site -Run echo 'load("/srv/shiny-server/data/test.state.rda")' >> /usr/local/lib/R/etc/Rprofile.site + # 安装所有模块 RUN R -e "remotes::install_local('/srv/shiny-server/radiant.data',dependencies=TRUE, type='source', upgrade='never',force=TRUE)"