Slackbot
05/08/2023, 9:57 PMChaoyu
05/08/2023, 10:02 PMPaulo Eduardo Neves
05/08/2023, 10:02 PMenv
section inside the bentofile.yaml:
env:
- BENTOML_CONFIG_OPTIONS=api_server.file.enabled\=True\ api_server.file.directory\=/mnt/ia-modelos/GECOE/
but it didn't accepted spaces and equal symbol inside "bentoml.exceptions.BentoMLException: All value in env
list must follow format ENV=VALUE"Paulo Eduardo Neves
05/08/2023, 10:03 PMPaulo Eduardo Neves
05/08/2023, 10:04 PMChaoyu
05/08/2023, 10:05 PMBENTOML_CONFIG={file path to configuration yaml}
Chaoyu
05/08/2023, 10:06 PMChaoyu
05/08/2023, 10:07 PMChaoyu
05/08/2023, 10:14 PMkey: value
format to set the env in bentofile.yaml
instead of list
?Chaoyu
05/08/2023, 10:15 PMList[str]
for setting the env optionAaron Pham
05/09/2023, 12:56 AMdocker run -e BENTOML_CONFIG=/tmp/bentoml_configuration.yaml -v /path/to/bentoml_configuration.yaml:/tmp/bentoml_configuration.yaml