dwd / Dockerfile
alexdum's picture
feat: Migrate interactive map from Leaflet to MapLibre, introducing dynamic basemap switching and updated map controls.
27fa7af
raw
history blame contribute delete
626 Bytes
FROM rocker/shiny-verse:latest
WORKDIR /code
# Install system dependencies for sf package
RUN apt-get update && apt-get install -y \
libudunits2-dev \
libgdal-dev \
libgeos-dev \
libproj-dev \
&& rm -rf /var/lib/apt/lists/*
# Install R packages
RUN install2.r --error \
shiny \
bslib \
bsicons \
mapgl \
sf \
jsonlite \
dplyr \
readr \
DT \
plotly \
lubridate \
shinycssloaders \
curl \
stringr \
purrr \
shinyjs \
tibble \
data.table \
writexl
COPY . .
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]