Creates a Docker file to be used with the GitHub Actions (GHA) workflows distributed by rworkflows.
use_dockerfile(
save_dir = here::here(),
path = file.path(save_dir, "Dockerfile"),
base_image = construct_cont()[[1]],
force_new = FALSE,
show = FALSE,
verbose = TRUE
)
Path to Docker file.
path <- use_dockerfile(save_dir=tempdir())
#> Creating new Docker file ==> /tmp/RtmppaN4bb/Dockerfile