Spaces:
Sleeping
Sleeping
FROM rocker/shiny-verse:latest | |
WORKDIR /code | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
libglpk40 \ | |
libglpk-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install stable packages from CRAN | |
RUN install2.r --error \ | |
ggExtra \ | |
shiny \ | |
shinythemes \ | |
shinyalert \ | |
shinycssloaders \ | |
shinyWidgets \ | |
shinydisconnect \ | |
spotifyr \ | |
spsComps \ | |
searcher \ | |
reactable \ | |
bslib \ | |
dplyr \ | |
igraph | |
# Install development packages from GitHub | |
RUN installGithub.r \ | |
rstudio/bslib \ | |
rstudio/httpuv \ | |
&& R -e "install.packages('devtools', repos='http://cran.rstudio.com/')" \ | |
&& R -e "remotes::install_github('Ifeanyi55/SpotifyNetwork')" | |
COPY . . | |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"] | |