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?
geddes-r-shiny-example/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (23 sloc)
606 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 rocker/shiny | |
# install R package dependencies | |
RUN apt-get update && apt-get install -y \ | |
libssl-dev \ | |
git \ | |
## clean up | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/ \ | |
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds | |
## Install required R package dependencies | |
RUN install2.r --error \ | |
shinythemes \ | |
DT \ | |
ggplot2 \ | |
car \ | |
nortest \ | |
tseries \ | |
RcmdrMisc \ | |
lmtest \ | |
## clean up | |
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds | |
## copy shiny app to shiny server location | |
COPY ./Regression/ /srv/shiny-server/ |