-`build`: Path towards a Dockerfile used to build this worker, relative to the root of
- `build`: Path towards a Dockerfile used to build this worker, relative to the root of the repository. Defaults to `Dockerfile`.
the repository. Defaults to `Dockerfile`.
<!--
<!--
TODO: Make the path relative to the YAML file itself, in the case of a
TODO: Make the path relative to the YAML file itself, in the case of a
...
@@ -62,8 +97,8 @@ include:
...
@@ -62,8 +97,8 @@ include:
custom image from a Dockerfile.
custom image from a Dockerfile.
-->
-->
-`command`: Custom command line to be used when launching the Docker container for
- `command`: Custom command line to be used when launching the Docker container for this Worker. By default, the command specified in the Dockerfile will be used.
this Worker. By default, the command specified in the Dockerfile will be used.
- `shm_size`: Size of the available shared memory in `/dev/shm`. The default value is `64M`, but when training machine learning models an increase might be necessary. The given value must be either an integer, or an integer followed by a unit (`b` for bytes, `k` for kilobytes, `m` for megabytes and `g` for gigabytes). If no unit is specified, the default unit is `bytes`. See the [Docker documentation](https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources).
- `environment`: Mapping of string keys and string values to define environment variables to be
- `environment`: Mapping of string keys and string values to define environment variables to be