Container
Attribute | Type | Description | Required |
---|---|---|---|
image | string | The Docker image name the algorithm will run with. | โ |
tag | string | The Docker image tag that you are going to use. | โ |
entrypoint | string | The Docker entrypoint. $ALGO is a macro that gets replaced inside the compute job, depending where your algorithm code is downloaded. | โ |
Run an algorithm written in JavaScript/Node.js, based on Node.js v18:
{
"algorithm": {
"container": {
"entrypoint": "node $ALGO",
"image": "node",
"tag": "18"
}
}
}