Spaces:
Runtime error
Runtime error
File size: 615 Bytes
312632d 86ef199 312632d d6dfb0c 312632d 86ef199 312632d df1e49f 312632d 69a337d cf31204 |
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 openanalytics/r-ver:4.1.3
# system libraries of general use
RUN apt-get update && apt-get install --no-install-recommends -y \
pandoc \
pandoc-citeproc \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
libssl1.1 \
libmpfr-dev \
&& rm -rf /var/lib/apt/lists/*
# basic shiny functionality
RUN R -q -e "install.packages(c('shiny', 'rmarkdown'))"
# copy the app to the image
WORKDIR /shinyapp
COPY --link Rprofile.site /usr/local/lib/R/etc/
COPY --link app.R /shinyapp/app.R
EXPOSE 7860
CMD ["R", "-q", "-e", "shiny::runApp('/shinyapp')"]
|