FROM rocker/r-base:latest WORKDIR /code # Install system dependencies first RUN apt-get update && apt-get install -y \ libcurl4-openssl-dev \ libssl-dev \ libxml2-dev \ libv8-dev \ libsodium-dev \ libharfbuzz-dev \ libfribidi-dev # Then install R packages RUN install2.r --error \ shiny \ dplyr \ ggplot2 \ readr \ gt \ shinyjs \ shinyauthr \ httr COPY . . CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]