File size: 829 Bytes
526ed7e
 
 
 
3512140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
526ed7e
 
153a776
 
 
 
 
 
 
 
 
 
 
 
 
526ed7e
 
 
 
 
 
 
 
 
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
FROM rocker/shiny-verse:latest

WORKDIR /code

# Install system dependencies for Plotly and other R packages
RUN apt-get update && apt-get install -y \
    libcurl4-openssl-dev \
    libssl-dev \
    libxml2-dev \
    libxt6 \
    libxrender1 \
    libfontconfig1 \
    libpng-dev \
    libjpeg-dev \
    libfreetype6-dev \
    libharfbuzz-dev \
    libfribidi-dev \
    && rm -rf /var/lib/apt/lists/*

# Install stable packages from CRAN
RUN install2.r --error \
    shiny \
    shinyalert \
    shinythemes \
    shinycssloaders \
    shinyjs \
    httr \
    bslib \
    thematic \
    gtrendsR \
    plotly \
    dplyr \
    ggplot2
    

# Install development packages from GitHub
RUN installGithub.r \
    rstudio/bslib \
    rstudio/httpuv

COPY . .

CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]