Spaces:
Running
Running
File size: 791 Bytes
91944c8 94be514 91944c8 6d3a243 91944c8 94be514 6d3a243 f814daa 94be514 6d3a243 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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)"]
|