Dockerfile 683 Bytes
Newer Older
jlopez's avatar
jlopez committed
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
FROM r-base:latest

MAINTAINER Jimmy Lopez

RUN apt-get update && apt-get install -y -t unstable \ 
sudo \ 
gdebi-core \ 
openssl \ 
pandoc \ 
pandoc-citeproc \ 
libcurl4-gnutls-dev \ 
libcairo2-dev/unstable \ 
libxt-dev

RUN apt-get install -y libssl-dev

RUN apt-get update

RUN R -e "install.packages(c('shiny', 'rmarkdown', 'shinydashboard', 'shinyjs', 'shinycssloaders', 'DT', 'dplyr', 'githubinstall', 'stringi', 'devtools', 'yaml'), repos='https://cran.rstudio.com/')"

RUN apt-get install -y git

RUN git clone https://github.com/Falindir/RPACIB.git

RUN R -e "devtools::install_github('rstudio/httpuv')"

EXPOSE 3838

CMD ["R", "-e", "shiny::runApp('/RPACIB/', port=3838)"]