This message was deleted.
# ask-for-help
s
This message was deleted.
a
You can get the dockerfile from the bentoml via
Copy code
$(bentoml get bento:tag -o path)/env/docker/Dockerfile | cat
I have a PR open that will allow user to construct the containerfile from a given bento
Copy code
bentoml.container.get_containerfile("bento_tag")
If an output path is not specified, then the result will be printed via stderr. If an output path is passsed, then we will write to that file.
Copy code
bentoml.container.get_containerfile('bento_tag", output_path=os.getcwd())
o
ah yes, sounds like this is what we would need indeed 🙂
a
Can u tell me more about the reason why you need the docker file separately?