PitchPlots / Dockerfile
TimStats's picture
Update Dockerfile
54952cf verified
Raw
History Blame Contribute Delete
543 Bytes
FROM rocker/r-ver:4.4.1
RUN apt-get update && apt-get install -y \
libssl-dev \
libcurl4-openssl-dev \
libxml2-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
# Belt-and-suspenders for arrow: prefer prebuilt libarrow, never compile
ENV LIBARROW_BINARY=true \
NOT_CRAN=true
RUN install2.r --error --skipinstalled --ncpus -1 \
bslib \
shiny \
dplyr \
ggplot2 \
readr \
ggExtra \
httr \
arrow
COPY . .
EXPOSE 7860
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]