Spaces:
Runtime error
Runtime error
File size: 799 Bytes
312632d 86ef199 312632d 86ef199 312632d e410c1f 312632d d6dfb0c 312632d 86ef199 312632d cf31204 312632d 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 27 28 29 30 31 32 33 34 |
FROM openanalytics/r-ver:4.1.3
LABEL maintainer="Tobias Verbeke <tobias.verbeke@openanalytics.eu>"
# 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 \
&& rm -rf /var/lib/apt/lists/*
# system library dependency for the euler app
RUN apt-get update && apt-get install -y \
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
RUN mkdir /shinyapp
COPY app.R /shinyapp/app.R
COPY Rprofile.site /usr/local/lib/R/etc/
EXPOSE 3838
CMD ["R", "-q", "-e", "shiny::runApp('/shinyapp')"]
|