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)"]