chore(deploy): finalize 0309 SAE rollout updates
Sync deployment documentation to the final successful SAE state and clear pending deployment checklist items. Include backend/frontend/R hardening and diagnostics improvements required for stable production behavior. Made-with: Cursor
This commit is contained in:
@@ -40,6 +40,9 @@ RUN R -e "install.packages(c( \
|
||||
'meta' \
|
||||
), repos='https://cloud.r-project.org/', Ncpus=2)"
|
||||
|
||||
# 构建期校验:关键包缺失则直接失败,阻止坏镜像发布
|
||||
RUN R -e "required <- c('plumber','jsonlite','ggplot2','glue','dplyr','tidyr','base64enc','yaml','car','httr','scales','gridExtra','gtsummary','gt','broom','meta'); installed <- rownames(installed.packages()); missing <- setdiff(required, installed); if (length(missing) > 0) { stop(paste('Missing required R packages:', paste(missing, collapse=', '))) } else { cat('All required R packages installed.\\n') }"
|
||||
|
||||
# ===== 安全加固:创建非特权用户 =====
|
||||
RUN useradd -m -s /bin/bash appuser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user