Update Dockerfile
Browse files- 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,
|
|
|
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 \
|