FROM rocker/r-base:latest # Install system dependencies needed by curl, openssl, httr, etc. RUN apt-get update && apt-get install -y \ libcurl4-openssl-dev \ libssl-dev \ libxml2-dev \ libssh2-1-dev WORKDIR /code # Install R packages RUN install2.r --error \ shiny \ dplyr \ ggplot2 \ readr \ ggExtra \ plotly \ fields \ akima COPY . . CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]