Skip to content
Go to file
Cannot retrieve contributors at this time
23 lines (16 sloc) 693 Bytes
FROM rocker/shiny
RUN apt-get update && apt-get install -y libssl-dev \
default-libmysqlclient-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
## install packages from CRAN (and clean up)
RUN install2.r DBI pool dplyr tidyr ggplot2 tidytext RMySQL anytime shinydashboard
## put shiny app is in build folder /twitter
COPY ./app.R /srv/shiny-server/twitter/
## updated config file
COPY ./shiny-server.conf /etc/shiny-server/shiny-server.conf
## revamped shell script to share env with shiny app
COPY ./ /usr/bin/
RUN chmod +x /usr/bin/
CMD ["/usr/bin/"]
You can’t perform that action at this time.