forked from wkpalan/shiny-var
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (19 loc) · 1.03 KB
/
Dockerfile
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
FROM researchit/shiny-server
MAINTAINER Kokulapalan Wimalanathan <[email protected]>
ENV REFRESHED_AT 2018-07-17
ENV TZ=America/Chicago
#RUN echo "America/Chicago" > /etc/timezone
USER root
# Install yum dependencies
RUN yum -y install openssl-devel libcurl-devel mariadb-devel libxml2 libxml2-devel tzdata
#Change the Rscript to enable multicore installations
RUN ls
#Install the R packages
RUN R -e 'install.packages(c("data.table","ontologyIndex","jsonlite","WhopGenome"), repos="https://mirror.las.iastate.edu/CRAN/", Ncpus=8, INSTALL_opts="--no-html")'
RUN R -e 'install.packages(c("DT","shiny"), repos="https://cran.rstudio.com/", Ncpus=8,INSTALL_opts="--no-html")'
RUN R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(c("GenomicFeatures"),Ncpus=8,INSTALL_opts="--no-html");'
RUN R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(c("Rsamtools"),Ncpus=8,INSTALL_opts="--no-html");'
# #Copy the app files to the correct location and install needed packages
COPY app/ /srv/shiny-server/shiny-var/
RUN ls -lh
EXPOSE 3838