createDockerfile: Create Dockerfile From Saved Model Object

Description Usage Arguments

View source: R/model_io.R

Description

Create Dockerfile From Saved Model Object

Usage

1
2
3
4
5
6
7
8
createDockerfile(
  model_file_location,
  required_packages = c("forecast"),
  plumber_template_location = file.path(path.package("vertaReticulateClient"),
    "plumber_sample.R", additional_objects_file_location = "additional_objects.RData"),
  runner_template_location = file.path(path.package("vertaReticulateClient"),
    "to_run.R")
)

Arguments

model_file_location

location of the model file

required_packages

required packages to hold

plumber_template_location

location to the plumber api script, by default the one from the package is used. Leave it as-is.

runner_template_location

location of the runner template script, by default the one from the package distribution is used. Leave as is, normally.


botchkoAI/vertaReticulateClient documentation built on Dec. 19, 2021, 10:50 a.m.