Biodiversity-Dash / Dockerfile
Ifeanyi's picture
Update Dockerfile
6aaccb3 verified
raw
history blame contribute delete
614 Bytes
FROM rocker/shiny-verse:latest
WORKDIR /code
# Install required system libraries
RUN apt-get update && apt-get install -y \
libglpk40 \
&& rm -rf /var/lib/apt/lists/*
# Install stable packages from CRAN
RUN install2.r --error \
shiny \
bs4Dash \
leaflet \
leaflet.extras \
highcharter \
reactable \
reactablefmtr \
data.table \
dplyr \
lubridate \
box \
viridis
# Install development packages from GitHub
RUN installGithub.r \
rstudio/bslib \
rstudio/httpuv
COPY . .
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]