Otolith commited on
Commit
7a2c68b
·
verified ·
1 Parent(s): 2b0746a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -15,12 +15,11 @@ RUN apt-get update && apt-get install -y \
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
  # 安装 R 包
18
- RUN R -e "install.packages('remotes')" \
19
- && R -e "remotes::install_cran('shiny')" \
20
- && R -e "remotes::install_cran('dplyr')" \
21
- && R -e "remotes::install_cran('sf')" \
22
- && R -e "remotes::install_cran('stringr')" \
23
- && R -e "remotes::install_cran('leaflet')"
24
 
25
  # 复制应用代码
26
  COPY . .
 
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
  # 安装 R 包
18
+ RUN R -e "install.packages('shiny')" \
19
+ && R -e "install.packages('dplyr')" \
20
+ && R -e "install.packages('sf')" \
21
+ && R -e "install.packages('stringr')" \
22
+ && R -e "install.packages('leaflet')"
 
23
 
24
  # 复制应用代码
25
  COPY . .