FROM rocker/shiny-verse:latest | |
WORKDIR /code | |
RUN /rocker_scripts/install_geospatial.sh | |
# Install stable packages from CRAN | |
RUN install2.r --error -s \ | |
ggExtra \ | |
shiny \ | |
pak \ | |
stars \ | |
tmap | |
# Install development packages from GitHub | |
RUN installGithub.r \ | |
rstudio/bslib \ | |
rstudio/httpuv | |
# RUN R -e "pak::pkg_install('tmap', 'stars')" | |
COPY . . | |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"] | |