Build image
build_imageBuild a Docker image from a Dockerfile by specifying a context directory and tag; optionally set a custom Dockerfile path.
Instructions
Build an image from a Dockerfile. The build context must be inside an allowed host path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag for the built image, e.g. myapp:dev | |
| context | Yes | Build context directory on the host | |
| dockerfile | No | Path to the Dockerfile (defaults to context/Dockerfile) |