Build an MLflow Serving Image
Call function.run(action="build", ...) to build the MLflow model-serving image.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | str | ✓ | Action to execute. Must be build |
| volumes | list[dict] | List of volumes. | |
| resources | dict | Resource limits and requests. | |
| envs | list[dict] | Environment variables. | |
| secrets | list[str] | List of secret names. | |
| profile | str | Profile template. | |
| replicas | int | Number of replicas. | |
| service_type | str | Service type. | |
| service_name | str | Service name. | |
| instructions | list[str] | Build instructions executed as RUN lines in the generated Dockerfile. |
Instructions
Instructions are executed as RUN instructions in the generated Dockerfile. For example: