jma / Dockerfile
alexdum's picture
refactor: migrate mapping functionality from Leaflet to mapgl and sf, updating dependencies, UI, and server logic for new basemap options.
753bf84
raw
history blame contribute delete
692 Bytes
FROM rocker/shiny-verse:latest
WORKDIR /code
# Install system dependencies for mapgl/sf
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
# listed explicitly to ensure all dependencies are met
RUN install2.r --error \
shiny \
bslib \
bsicons \
mapgl \
sf \
dplyr \
readr \
DT \
plotly \
ggplot2 \
shinyjs \
later \
htmltools \
rvest \
stringr \
lubridate \
purrr \
jsonlite \
curl \
httr \
writexl
COPY . .
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]