This message was deleted.
# ask-for-help
s
This message was deleted.
๐Ÿ’พ 1
๐Ÿฑ 1
a
Hey @Seungchan Lee ๐Ÿ‘‹ Try using the docker templating option E.g. of using env variables in build args https://docs.bentoml.org/en/latest/guides/containerization.html#using-environment-variables
s
Does docker options in bentofile work as well? That seems easier
Copy code
docker:
    distro: debian
    python_version: "3.8.12"
    cuda_version: "11.6.2"
    system_packages:
      - libblas-dev
      - liblapack-dev
      - gfortran
    env:
      FOO: value1
      BAR: value2
a
I think it should, I have not personally tried it give it a try ๐Ÿคทโ€โ™‚๏ธ
s
Oh OK - thanks!
๐Ÿ™ 1
a
I think you can set the env during docker step for environment variable
No need for custom dockerfile here ๐Ÿ˜„
๐Ÿ™ 1