New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Docker env option does not support paths #3301
Comments
Thanks for reporting this bug. We will need to handle path-like objects separately for this. I notice that you are using a docker run -e BENTOML_CONFIG=/home/bentoml/bentoml_config.yaml -v /path/to/your_config_file_locally.yaml:/home/bentoml/bentoml_config.yaml ... |
Dear @aarnphm, Thank you very much for your quick response and pointing out this solution. |
do you have a plan support DEFAULT_BENTO_CONFIG? like a
|
This is an anti-pattern to include the bento_config into the bento, and we won't do anything special check for the config namespace yet.
So the answer is No 😃 |
Describe the bug
Setting environment variables with path characters result in an error, this prohibits a large range of valid environment variables from being set without a custom build. #3268
results in:
To reproduce
Expected behavior
Behaviour like a standard script export:
Environment
bentoml: >1.0.5
python: 3.8.13
os: UBUNTU 20.04
The text was updated successfully, but these errors were encountered: