build and tag lambda image locally
build_lambda.Rd
build and tag lambda image locally
Usage
build_lambda(
tag,
runtime_function,
runtime_path,
support_path = NULL,
renvlock_path = NULL,
dependencies = NULL
)
Arguments
- tag
A name for the Docker container and Lambda function
- runtime_function
name of the runtime function
- runtime_path
path to the script containing the runtime function
- support_path
path to the support files (if any). Either NULL (the default) if all needed code is in the same `runtime_path` script, or a character vector of paths to additional files needed by the runtime script.
- renvlock_path
path to the renv.lock file (if any). Default is NULL.
- dependencies
list of dependencies (if any). Default is NULL.