Slackbot
03/09/2023, 3:21 PMSean
03/09/2023, 8:40 PMbentofile.yaml
is present, BentoML can serve and build bento. Standard repos like Git or AzureRepos integrates well with Azure Pipelines. If you structure your repository with a bentofile.yaml
at the root, I expect everything to just work. 🙂Sarthak Verma
03/10/2023, 3:29 AMSarthak Verma
03/10/2023, 4:42 AMShihgian Lee
03/10/2023, 2:27 PMbentoml export iris_classifier:latest saved/iris_classifier.tar.gz
2. tar -xf saved/iris_classifier.tar.gz -C saved/
3. docker build -t app_name:version -f saved/env/docker/Dockerfile --build-arg saved
4. docker push app_name:version
The --build-arg
in step 3 is to define build context because the Dockerfile is not at the top level in the saved folder.
I hope that helps!Sarthak Verma
03/10/2023, 2:37 PMShihgian Lee
03/10/2023, 3:26 PM