Skip to content

Container

AttributeTypeDescriptionRequired
imagestringThe Docker image name the algorithm will run with.โœ…
tagstringThe Docker image tag that you are going to use.โœ…
entrypointstringThe Docker entrypoint. $ALGO is a macro that gets replaced inside the compute job, depending where your algorithm code is downloaded.โœ…
Example:

Run an algorithm written in JavaScript/Node.js, based on Node.js v18:

{
  "algorithm": {
    "container": {
      "entrypoint": "node $ALGO",
      "image": "node",
      "tag": "18"
    }
  }
}