diff --git a/Dockerfile b/Dockerfile index da64de1bca894455a1ede90158623c05a11ab919..27c3e35dfa9100166be6a80ff56fa150050397b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +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 # 安装所有模块 @@ -28,6 +29,7 @@ CMD ["R", "-e", "radiant::radiant(host='0.0.0.0', port=3838)"] #sudo -i #cd /home/wuzekai/radiant #docker images | grep radiant 查看镜像 +#docker ps | grep radiant 查看容器 #docker build -t radiant:latest . 构建镜像 #cd /home/wuzekai/shinyproxy