Skip to content

Commit

Permalink
fix: run the function instead of $ its body
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFay committed Mar 10, 2023
1 parent 383644f commit 1e79e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/add_dockerfiles_renv.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ add_dockerfile_with_renv_ <- function(
socle$write(as = file.path(output_dir, "Dockerfile_base"))


my_dock <- dockerfiler_Dockerfile$new(FROM = tolower(tolower(paste0(golem::get_golem_name(), "_base"))))
my_dock <- dockerfiler_Dockerfile()$new(FROM = tolower(tolower(paste0(golem::get_golem_name(), "_base"))))

my_dock$COPY("renv.lock.prod", "renv.lock")

Expand Down Expand Up @@ -209,7 +209,7 @@ docker build -f Dockerfile --progress=plain -t %s .
docker run -p %s:%s %s
# then go to 127.0.0.1:%s",
tolower(paste0(golem::get_golem_name(), "_base")),
tolower( paste0(golem::get_golem_name(), ":latest")),
tolower(paste0(golem::get_golem_name(), ":latest")),
port,
port,
tolower(paste0(golem::get_golem_name(), ":latest")),
Expand Down

0 comments on commit 1e79e54

Please sign in to comment.