diff --git a/R/add_dockerfiles_renv.R b/R/add_dockerfiles_renv.R index 24afc09f..3253d968 100644 --- a/R/add_dockerfiles_renv.R +++ b/R/add_dockerfiles_renv.R @@ -80,7 +80,7 @@ add_dockerfile_with_renv_ <- function( my_dock <- dockerfiler_Dockerfile()$new(FROM = tolower(tolower(paste0(golem::get_golem_name(), "_base")))) - my_dock$COPY("renv.lock.prod", "renv.lock") + my_dock$COPY(lockfile, "renv.lock") my_dock$RUN("R -e 'renv::restore()'")