Hello,
I am on a project to deploy my application with shinyproxy, I cannot build the image because the packages contained in my shiny application cannot be installed. Construction starts but happens when the packages are installed it takes time, and finally I cancel the construction.
Please give me directions, thanks in advance
FROM openanalytics/r-base
MAINTAINER Tobias Verbeke
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.0.0
system library dependency for the euler app
RUN apt-get update && apt-get install -y
libmpfr-dev
basic shiny functionality
RUN R -e âinstall.packages(c(âshinyâ,ârmarkdownâ,âplotlyâ,âshinyalertâ,âshinyWidgetsâ,âtmapâ,âzooâ,âtidyverseâ,âquestionrâ,âtinytexâ,âdata.tableâ,âshinycssloadersâ,âsfâ,âreadxlââ), repos=âhttps://cloud.r-project.org/â)â
#RUN R -e âinstall.packages(c(âplotlyâ), 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/emop
COPY emop /root/emop
COPY Rprofile.site /usr/lib/R/etc/
EXPOSE 3838
CMD [âRâ, â-eâ, âshiny::runApp(â/root/emopâ)â]