Spaces:
Running
Running
| FROM rocker/shiny-verse:latest | |
| WORKDIR /code | |
| # Install system dependencies for Plotly and other R packages | |
| RUN apt-get update && apt-get install -y \ | |
| libcurl4-openssl-dev \ | |
| libssl-dev \ | |
| libxml2-dev \ | |
| libxt6 \ | |
| libxrender1 \ | |
| libfontconfig1 \ | |
| libpng-dev \ | |
| libjpeg-dev \ | |
| libfreetype6-dev \ | |
| libharfbuzz-dev \ | |
| libfribidi-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install stable packages from CRAN | |
| RUN install2.r --error \ | |
| shiny \ | |
| shinyalert \ | |
| shinythemes \ | |
| shinycssloaders \ | |
| shinyjs \ | |
| httr \ | |
| bslib \ | |
| thematic \ | |
| gtrendsR \ | |
| plotly \ | |
| dplyr \ | |
| ggplot2 | |
| # Install development packages from GitHub | |
| RUN installGithub.r \ | |
| rstudio/bslib \ | |
| rstudio/httpuv | |
| COPY . . | |
| CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"] | |