Write a compose file to run Hugo development server dockerized

Description

Write a compose file to run Hugo development server dockerized

Usage

write_hugo_compose_file(
  file_path = file.path(getwd(), "docker-compose.yaml"),
  force = FALSE
)

Arguments

  • file_path: where to write the compose configuration. Defaults to a file docker-compose.yml in your current working directory.
  • force: logical(1); overwrite the file if it already exists.