cjerzak commited on
Commit
07f710b
·
verified ·
1 Parent(s): 0f9616e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,14 +4,14 @@ FROM rocker/geospatial:latest
4
  # Set the working directory inside the container
5
  WORKDIR /code
6
 
7
- # Install required R packages, ensuring dependencies are included
 
8
  RUN install2.r --error --deps TRUE --repos "https://cran.r-project.org" \
9
  shiny \
10
  shinydashboard \
11
  dplyr \
12
  readr \
13
  sf \
14
- cartogram \
15
  ggplot2 \
16
  rnaturalearth \
17
  rnaturalearthdata \
 
4
  # Set the working directory inside the container
5
  WORKDIR /code
6
 
7
+ # Install required R packages, specifying the CRAN repository for reliability.
8
+ # Note: "cartogram" has been removed to avoid the dependency error for rnaturalearthhires.
9
  RUN install2.r --error --deps TRUE --repos "https://cran.r-project.org" \
10
  shiny \
11
  shinydashboard \
12
  dplyr \
13
  readr \
14
  sf \
 
15
  ggplot2 \
16
  rnaturalearth \
17
  rnaturalearthdata \