Add port binding support and example for container scripts #646
Annotations
3 errors
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`. 🚧
|
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`. 🚧
|
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`. 🧐
|
This job succeeded
Loading