Write a dockerfile from a dockerfile object

write_dockerfile(dockerfile, file = "Dockerfile", overwrite = FALSE)

Arguments

dockerfile,

an object of class dockerfile

file,

the filename

overwrite,

whether to overwrite an existing Dockerfile

Value

an object of class dockerfile

Examples

# NOT RUN {
dockerfile() %>%
  insert_blank() %>%
  write_dockerfile()

# }