Add port binding support and example for container scripts #646
Annotations
3 errors
build:
packages/cli/src/docker.ts#L174
There is no error handling for the `reduce` function. If `ports` is `undefined` or `null`, this will throw a TypeError. Consider adding a check before using `reduce`. 🚧
|
build:
packages/cli/src/docker.ts#L183
Similar to the previous point, there is no error handling for the `reduce` function here. If `ports` is `undefined` or `null`, this will throw a TypeError. Consider adding a check before using `reduce`. 🚧
|
build:
packages/core/src/types/prompt_template.d.ts#L2216
The type of `hostPort` in `ContainerPortBinding` is ambiguous. It can be either `string` or `number`. This can lead to potential issues when comparing or using this value. Consider using a single type for `hostPort`. 🧐
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
genai-results
Expired
|
20.3 KB |
|