Spaces:
Running
Running
File size: 960 Bytes
ac3eda4 cd7dab8 1fefb3a 05fe1d3 1fefb3a cd7dab8 1fefb3a cd7dab8 6493f1e 8b0b5c8 f9c5718 6493f1e cd7dab8 2ea45d7 4b527a7 ac8d9e3 cd7dab8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
FROM rocker/r-ver:4.2.3
# Remotes
RUN R -q -e "install.packages(c('remotes'))"
# Specific version of Shiny
RUN R -q -e "remotes::install_version('shiny', version = '1.7.3', repos = 'http://cran.us.r-project.org')"
# basic shiny functionality
RUN R -q -e "install.packages(c('rmarkdown', 'markdown'))"
# additional shiny functionality
RUN R -q -e "install.packages(c('shinydashboard', 'shinydashboardPlus'))"
RUN R -q -e "install.packages(c('shinyWidgets', 'shinycssloaders'))"
# other R packages
RUN R -q -e "install.packages(c('DT', 'plotly', 'scico', 'ggthemes', 'scales', 'wesanderson'))"
RUN R -q -e "install.packages(c('data.table', 'dtplyr', 'devtools', 'googlesheets4'))"
# modified version of Rnumerai
RUN R -q -e "devtools::install_github('woobe/Rnumerai')"
# copy the app to the image
WORKDIR /shinyapp
COPY --link Rprofile.site /usr/local/lib/R/etc/
COPY --link app /shinyapp/
EXPOSE 7860
CMD ["R", "-q", "-e", "shiny::runApp('/shinyapp')"]
|