# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker FROM rocker/shiny RUN apt-get update && apt-get install -y \ --no-install-recommends \ git-core \ libssl-dev \ libcurl4-gnutls-dev \ curl \ libsodium-dev \ libxml2-dev \ libicu-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* ENV _R_SHLIB_STRIP_=true RUN install2.r --error --skipinstalled \ shiny \ forecast \ jsonlite \ ggplot2 \ htmltools \ plotly USER shiny EXPOSE 3838 CMD ["/usr/bin/shiny-server"]