Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
IDEA-COVID-StudySafe-SC/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (27 sloc)
983 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openanalytics/r-base | |
MAINTAINER John Erickson "erickj4@rpi.edu" | |
# system libraries of general use | |
RUN apt-get update && apt-get install -y \ | |
sudo \ | |
pandoc \ | |
pandoc-citeproc \ | |
libcurl4-gnutls-dev \ | |
libcairo2-dev \ | |
libxt-dev \ | |
libssl-dev \ | |
libssh2-1-dev \ | |
libssl1.1 \ | |
libxml2-dev \ | |
libproj-dev \ | |
libgdal-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
# basic shiny functionality | |
RUN R -e 'install.packages(c("shiny","shinydashboard","shinyjs","DT","dplyr","ggplot2","shinyWidgets","tidyverse","tidyr","lubridate","plyr","scales","zoo","ggalt","leaflet","plotly","wesanderson","reactable"), repos="https://cloud.r-project.org/")' | |
# install dependencies of the euler app | |
#RUN R -e "install.packages('Rmpfr', repos='https://cloud.r-project.org/')" | |
# copy the app to the image | |
RUN mkdir /root/studysafe | |
COPY studysafe /root/studysafe | |
COPY Rprofile.site /usr/lib/R/etc/ | |
EXPOSE 3838 | |
CMD ["R", "-e", "shiny::runApp('/root/studysafe')"] |