Spaces:
Running
Running
phantomas34
Seed IMS tables (follow-ups, NLP scores, projects) into DuckDB for Client/Revenue Intelligence
f814daa Download Dockerfile from phantomas34/perfect-margin: direct link, hf CLI and curl.
- Browser
- Download file 791 Bytes
-
https://huggingface.co/spaces/phantomas34/perfect-margin/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/phantomas34/perfect-margin/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/phantomas34/perfect-margin/resolve/main/Dockerfile
791 Bytes
| 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)"] | |