-
Notifications
You must be signed in to change notification settings - Fork 797
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: env variables not injected in bento container #4885
Comments
Hi @aarnphm this seems to be happening when you define the So if you have a different set of variables on
|
@frostming iirc the Should we print out a warning then for now just merge the docker env to the above env? |
that would be helpful as I ended up wasting quite a bit of time on this |
Describe the bug
As per the docs here, env variables should be injected in the resulting docker container. However, these variables are not actually being injected and are not available inside the container at runtime.
To reproduce
No response
Expected behavior
Env variables defined via the bentofile should be injected inside the container.
Although it appears that they are actually injected when defined inside the
env
attribute of thedocker
attribute inside the bentofile.Is the documentation perhaps outdated?
Environment
bentoml: 1.2.16
python: 3.9.0
platform: ubuntu 22.04
The text was updated successfully, but these errors were encountered: