Spaces:
Sleeping
Sleeping
Download Dockerfile from TimStats/SummaryCard: direct link, hf CLI and curl.
- Browser
- Download file 699 Bytes
-
https://huggingface.co/spaces/TimStats/SummaryCard/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TimStats/SummaryCard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TimStats/SummaryCard/resolve/main/Dockerfile
699 Bytes
| FROM rocker/shiny-verse:latest | |
| WORKDIR /code | |
| # Install stable packages from CRAN | |
| RUN install2.r --error \ | |
| ggExtra \ | |
| shiny \ | |
| plotly \ | |
| bslib \ | |
| DT \ | |
| rsconnect \ | |
| baseballr \ | |
| dplyr \ | |
| tidyverse \ | |
| rvest \ | |
| ggplot2 \ | |
| janitor \ | |
| ggthemes \ | |
| ggpubr \ | |
| jsonlite \ | |
| utils \ | |
| grid \ | |
| gridExtra \ | |
| png \ | |
| xgboost \ | |
| httr \ | |
| jpeg \ | |
| zoo \ | |
| pkgconfig \ | |
| rsvg | |
| # Install development packages from GitHub | |
| RUN installGithub.r \ | |
| rstudio/bslib \ | |
| rstudio/httpuv \ | |
| rstudio/gridlayout | |
| RUN apt-get update && apt-get install -y librsvg2-dev | |
| COPY . . | |
| CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"] | |