File size: 805 Bytes
8145f0e
 
 
 
6427963
 
 
 
 
 
8145f0e
 
 
f042e66
 
 
 
 
d9dcd39
f042e66
 
 
 
 
b3cf620
 
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
33
34
35
36
37
38
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)"]