Skip to content

Commit

Permalink
fix dockerize
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn authored and knative-prow-robot committed Dec 29, 2024
1 parent b25fd59 commit 623853b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,8 @@ a Dockerfile is automatically generated when saving the model.
username and run the following commands.
```bash
# jq might not be installed on your local system, please follow jq install
# instruction at https://stedolan.github.io/jq/download/
saved_path=$(bentoml get iris_classifier:latest -q -o json | jq -r ".uri.uri")
# Build and push the container on your local machine.
docker buildx build --platform linux/arm64,linux/amd64 -t "{username}/iris-classifier" --push $saved_path
bentoml containerize iris_classifier:latest -t "{username}/iris-classifier" --push
```
1. In `service.yaml`, replace `{username}` with your Docker hub username:
Expand Down

0 comments on commit 623853b

Please sign in to comment.