Skip to content

Commit

Permalink
Add -it flag when run docker so ^C still works
Browse files Browse the repository at this point in the history
Add -it flag when run docker so ^C still works
  • Loading branch information
ivokwee authored and ColinFay committed Apr 4, 2023
1 parent ce67fa5 commit ac237d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/add_dockerfiles_renv.R
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ add_dockerfile_with_renv <- function(
out <- sprintf(
"docker build -f Dockerfile_base --progress=plain -t %s .
docker build -f Dockerfile --progress=plain -t %s .
docker run -p %s:%s %s
docker run -it -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")),
Expand Down

0 comments on commit ac237d5

Please sign in to comment.