File size: 669 Bytes
8145f0e
 
 
 
 
 
 
f042e66
 
 
 
 
ab03466
f042e66
 
 
 
 
 
 
8145f0e
 
 
 
f042e66
 
 
8145f0e
 
 
 
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
FROM rocker/shiny-verse:latest

WORKDIR /code

# Install stable packages from CRAN
RUN install2.r --error \
    ggExtra \
    shiny \
    shinythemes \
    shinyalert \
    shinycssloaders \
    shinyWidgets \
    shinydisconnect
    shiny.telemetry \
    spotifyr \
    spsComps \
    searcher \
    reactable \
    bslib \
    dplyr

# 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)"]