-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (41 loc) · 1.44 KB
/
Dockerfile
File metadata and controls
47 lines (41 loc) · 1.44 KB
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
45
46
47
FROM rocker/r-base:latest
MAINTAINER Camilla Ryan "camilla.ryan@earlham.ac.uk"
RUN apt-get update && apt-get install -y \
sudo \
pandoc \
pandoc-citeproc \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
libxml2 \
libxml2-dev \
python3 \
python3-pip \
texlive-xetex
RUN R -e "install.packages('shiny', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('shinythemes', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('rmarkdown', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('reticulate', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('tinytex')"
RUN R -e "install.packages('ggplot2', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('tibble', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('dplyr', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('kableExtra', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('knitr', repos = 'http://cran.rstudio.com/')"
RUN R -e "install.packages('tidyverse', repos = 'http://cran.rstudio.com/')"
RUN R -e "library(tinytex); tinytex::install_tinytex()"
RUN R -e "install.packages('shinyjs')"
RUN pip3 install pandas numpy
COPY ICY.Rproj /
#COPY app.R /
COPY ui.R /
COPY server.R /
COPY run.R /
COPY Documents /Documents
COPY ICY.Rmd /
COPY ichooseyou_sep.py /
COPY www /www
COPY Images /Images
CMD ["Rscript", "/run.R"]