File size: 625 Bytes
2f2844c
78743bf
28a86fb
78743bf
2f2844c
 
 
 
 
 
 
 
 
 
 
 
 
 
78743bf
2f2844c
28a86fb
2f2844c
 
 
a775f35
 
2c6fbb0
 
78743bf
2f2844c
 
28a86fb
 
 
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
FROM rocker/r2u:latest

WORKDIR /code

RUN apt-get update && apt-get install -y --no-install-recommends \
    ca-certificates \
    libcurl4-openssl-dev \
    libssl-dev \
    libxml2-dev \
    libfontconfig1-dev \
    libfreetype6-dev \
    libpng-dev \
    libjpeg-dev \
    libtiff5-dev \
    libharfbuzz-dev \
    libfribidi-dev \
    zlib1g-dev \
    && rm -rf /var/lib/apt/lists/*

RUN install2.r --error --skipinstalled \
    shiny \
    brms \
    tidyverse \
    DT \
    bayesplot \
    httr \
    arrow \
    base64enc

EXPOSE 7860

COPY . .

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