FROM --platform=linux/amd64 rocker/shiny-verse:latest RUN apt-get update && apt-get install -y \ libssl-dev libxml2-dev zlib1g-dev \ && rm -rf /var/lib/apt/lists/* # Install PRECOMPILED binaries via the rocker image's default Posit Package # Manager repo (do NOT override repos to cloud.r-project.org — that forces # slow source compiles and times out the HF build). RUN install2.r --error --skipinstalled --ncpus -1 \ shinydashboard plotly DBI duckdb pool scales DT shinyWidgets cluster openxlsx strucchange lmtest WORKDIR /srv/shiny-server COPY global.R ui.R server.R mod_cohort_analysis.R seed_data.R ./ COPY Bid_SalesAnalysisByEstimatorByMonth_121125.csv ./ COPY data ./data/ EXPOSE 7860 CMD ["R", "-e", "shiny::runApp('/srv/shiny-server', host='0.0.0.0', port=7860)"]