File size: 3,471 Bytes
ac3eda4
cd7dab8
1fefb3a
 
c37ca3d
 
 
 
 
a687518
 
aa6ac3a
 
6bf2051
0b603e4
 
 
6963e56
e9ddcb8
c37ca3d
fed9ced
48341a5
fee8acf
 
c37ca3d
e9ddcb8
c37ca3d
2fb41dc
6963e56
1fefb3a
575a179
f7be59f
 
 
ccb21d1
f7be59f
 
1fefb3a
cd7dab8
1fefb3a
cd7dab8
6493f1e
8b0b5c8
f9c5718
6493f1e
cd7dab8
2ea45d7
f7be59f
ac8d9e3
 
2fb41dc
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FROM rocker/r-ver:4.2.3

# Remotes
RUN R -q -e "install.packages(c('remotes'))"

# Other Packages
RUN R -q -e "remotes::install_version('xfun', version = '0.42', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('fansi', version = '1.0.6', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('xopen', version = '1.0.0', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('rlang', version = '1.1.3', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('memoise', version = '2.0.1', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('rematch2', version = '2.1.2', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('yaml', version = '2.3.8', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('gert', version = '2.0.1', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('processx', version = '3.8.3', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('fontawesome', version = '0.5.2', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('digest', version = '0.6.34', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('brew', version = '1.0.10', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('sass', version = '0.4.8', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('farver', version = '2.1.1', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('sourcetools', version = '0.1.7-1', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('xtable', version = '1.8-4', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('stringr', version = '1.5.0', repos = 'http://cran.us.r-project.org')"
RUN R -q -e "remotes::install_version('tinytex', version = '0.45', repos = 'http://cran.us.r-project.org')"

RUN R -q -e "remotes::install_version('shiny', version = '1.8.0', repos = 'http://cran.us.r-project.org')"

# RUN R -q -e "install.packages(c('devtools'))"
# RUN R -q -e "remotes::install_version('devtools', version = '2.4.5', repos = 'http://cran.us.r-project.org')"


# RUN R -q -e "remotes::install_github('r-lib/later')"
#RUN R -q -e "remotes::install_version('httpuv', version = '1.6.6', repos = 'http://cran.us.r-project.org')"
# RUN R -q -e "devtools::install_github('rstudio/httpuv')"

# 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', 'googlesheets4'))"

# modified version of Rnumerai
# RUN R -q -e "devtools::install_github('woobe/Rnumerai')"
RUN R -q -e "remotes::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')"]