leonsimon23 commited on
Commit
6c7a533
·
verified ·
1 Parent(s): 9486b3a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -45,10 +45,10 @@ RUN R -e "install.packages(c('ggplot2', 'dplyr', 'ggpubr', 'patchwork', 'scales'
45
  RUN R -e "install.packages(c('Rcpp', 'RcppArmadillo', 'RcppParallel', 'prophet'), repos='http://cran.rstudio.com/', Ncpus = `nproc`)"
46
  RUN R -e "install.packages(c('parallel', 'doParallel'), repos='http://cran.rstudio.com/', Ncpus = `nproc`)"
47
 
48
- # 设置环境变量,确保 R 知道去哪里找字体(如果安装了)
49
  ENV R_LIBS_USER=/usr/local/lib/R/site-library
50
  ENV R_GSCMD=/usr/bin/gs # For ghostscript, sometimes needed for ggplot2 output
51
- # 设置 LANG 环境变量,确保R能正确处理中文字符
52
  ENV LANG=C.UTF-8
53
 
54
  # 运行你的 R 脚本
 
45
  RUN R -e "install.packages(c('Rcpp', 'RcppArmadillo', 'RcppParallel', 'prophet'), repos='http://cran.rstudio.com/', Ncpus = `nproc`)"
46
  RUN R -e "install.packages(c('parallel', 'doParallel'), repos='http://cran.rstudio.com/', Ncpus = `nproc`)"
47
 
48
+
49
  ENV R_LIBS_USER=/usr/local/lib/R/site-library
50
  ENV R_GSCMD=/usr/bin/gs # For ghostscript, sometimes needed for ggplot2 output
51
+
52
  ENV LANG=C.UTF-8
53
 
54
  # 运行你的 R 脚本