Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 794 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 794 Bytes

Docker demo

This repo contains a couple of sample dockerfiles to play around with. Check out the subdirectories for examples of ways to dockerize plumber APIs, shiny apps, and quarto reports.

Prerequisites: install Docker. For the plumber example, also install curl.

A note about reproducibility

I've tried to make these demos quite minimal. For simplicity, I install the latest versions of R packages. However one of the benefits (indeed part of the point) of docker is the ability to pin down very specific versions of dependencies. You could do this by using a specific Posit Package Manager snapshot, or using renv.