File size: 370 Bytes
232e378
 
 
 
 
 
2029588
 
6f618a2
5e8ceb0
 
d3e3094
 
 
 
 
4aabfda
 
232e378
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM rocker/r-base:latest

WORKDIR /code

RUN install2.r --error \
    shiny \
    caret \
    dplyr \
    glmnet \
    jsonlite

COPY . .
RUN apt-get update && apt-get install -y \
    python3 \
    python3-pip

RUN rm /usr/lib/python*/EXTERNALLY-MANAGED && \
    pip3 install -r requirements.txt

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