https://github.com/karawoo/dockerdemo
Example dockerfiles for plumber, shiny, and quarto
https://github.com/karawoo/dockerdemo
Last synced: about 2 months ago
JSON representation
Example dockerfiles for plumber, shiny, and quarto
- Host: GitHub
- URL: https://github.com/karawoo/dockerdemo
- Owner: karawoo
- Created: 2022-08-24T18:54:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T17:10:13.000Z (over 1 year ago)
- Last Synced: 2024-08-13T07:11:35.718Z (8 months ago)
- Language: R
- Homepage:
- Size: 6.84 KB
- Stars: 22
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - karawoo/dockerdemo - Example dockerfiles for plumber, shiny, and quarto (R)
README
# 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](https://docs.docker.com/engine/install/). For
the plumber example, also install [curl](https://curl.se/).## 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](https://packagemanager.posit.co/client/#/) snapshot,
or using [renv](https://rstudio.github.io/renv/articles/renv.html).