shiny-test / Dockerfile
rajistics's picture
first push
86ef199
raw
history blame
609 Bytes
# 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
COPY Rprofile.site /etc/R
RUN install2.r --error --skipinstalled \
shiny \
forecast \
jsonlite \
ggplot2 \
htmltools \
plotly
COPY ./app/* /srv/shiny-server/
USER shiny
EXPOSE 3838
CMD ["/usr/bin/shiny-server"]