diff --git a/docs/cloud/azureai/deploy-to-azure-appservice.md b/docs/cloud/azureai/deploy-to-azure-appservice.md index 03504f2b663..13b245d0e72 100644 --- a/docs/cloud/azureai/deploy-to-azure-appservice.md +++ b/docs/cloud/azureai/deploy-to-azure-appservice.md @@ -10,7 +10,7 @@ This example demos how to deploy [web-classification](https://github.com/microso Use the command below to build a flow as docker format app: ```bash -pf flow build --source ../../flows/standard/web-classification --output build --format docker +pf flow build --source ../../flows/standard/web-classification --output dist --format docker ``` Note that all dependent connections must be created before building as docker. @@ -27,7 +27,7 @@ The two scripts will do the following things: :::{tab-item} Bash Example command to use bash script: ```shell -bash deploy.sh --path build -i --name my_app_23d8m -r -g +bash deploy.sh --path dist -i --name my_app_23d8m -r -g ``` See the full parameters by `bash deploy.sh -h`. ::: diff --git a/docs/how-to-guides/deploy-a-flow/deploy-using-docker.md b/docs/how-to-guides/deploy-a-flow/deploy-using-docker.md index 164496b0576..872676b66b6 100644 --- a/docs/how-to-guides/deploy-a-flow/deploy-using-docker.md +++ b/docs/how-to-guides/deploy-a-flow/deploy-using-docker.md @@ -53,7 +53,7 @@ refer to [Setup connection for web-classifiction](https://github.com/microsoft/p Use the command below to build a flow as docker format app: ```bash -pf flow build --source ../../flows/standard/web-classification --output build --format docker +pf flow build --source ../../flows/standard/web-classification --output dist --format docker ``` Note that all dependent connections must be created before exporting as docker. @@ -65,7 +65,7 @@ Like other Dockerfile, you need to build the image first. You can tag the image Run the command below to build image: ```bash -docker build build -t web-classification-serve +docker build dist -t web-classification-serve ``` ### Run Docker image diff --git a/examples/tutorials/e2e-development/chat-with-pdf.md b/examples/tutorials/e2e-development/chat-with-pdf.md index f7e846fbc70..84336aa3a62 100644 --- a/examples/tutorials/e2e-development/chat-with-pdf.md +++ b/examples/tutorials/e2e-development/chat-with-pdf.md @@ -310,7 +310,7 @@ the other choices, please refer to [flow deploy docs](https://microsoft.github.i Use the command below to build a flow as docker format app: ```bash -pf flow build --source . --output build --format docker +pf flow build --source . --output dist --format docker ``` ### Deploy with Docker @@ -321,7 +321,7 @@ Like other Dockerfile, you need to build the image first. You can tag the image Run the command below to build image: ```shell -docker build build -t chat-with-pdf-serve +docker build dist -t chat-with-pdf-serve ``` #### Run Docker image diff --git a/examples/tutorials/flow-deploy/azure-app-service/README.md b/examples/tutorials/flow-deploy/azure-app-service/README.md index 6501b9387cc..b11e243e23f 100644 --- a/examples/tutorials/flow-deploy/azure-app-service/README.md +++ b/examples/tutorials/flow-deploy/azure-app-service/README.md @@ -18,7 +18,7 @@ pf connection create --file ../../../connections/azure_openai.yml --set api_key= Use the command below to build a flow as docker format app: ```bash -pf flow build --source ../../../flows/standard/web-classification --output build --format docker +pf flow build --source ../../../flows/standard/web-classification --output dist --format docker ``` @@ -32,7 +32,7 @@ The two scripts will do the following things: Example command to use bash script: ```shell -bash deploy.sh --path build -i --name my_app_23d8m -r -g +bash deploy.sh --path dist -i --name my_app_23d8m -r -g ``` Example command to use powershell script: diff --git a/examples/tutorials/flow-deploy/docker/README.md b/examples/tutorials/flow-deploy/docker/README.md index 9cd65376a79..fc1d36c8d83 100644 --- a/examples/tutorials/flow-deploy/docker/README.md +++ b/examples/tutorials/flow-deploy/docker/README.md @@ -14,7 +14,7 @@ pf connection create --file ../../../connections/azure_openai.yml --set api_key= Use the command below to build a flow as docker format app: ```bash -pf flow build --source ../../../flows/standard/web-classification --output build --format docker +pf flow build --source ../../../flows/standard/web-classification --output dist --format docker ``` ## Deploy with Docker @@ -25,7 +25,7 @@ Like other Dockerfile, you need to build the image first. You can tag the image Run the command below to build image: ```shell -docker build build -t web-classification-serve +docker build dist -t web-classification-serve ``` ### Run Docker image diff --git a/examples/tutorials/flow-deploy/kubernetes/README.md b/examples/tutorials/flow-deploy/kubernetes/README.md index dbf72c68bff..9be5f5b673d 100644 --- a/examples/tutorials/flow-deploy/kubernetes/README.md +++ b/examples/tutorials/flow-deploy/kubernetes/README.md @@ -15,7 +15,7 @@ pf connection create --file ../../../connections/azure_openai.yml --set api_key= Use the command below to build a flow as docker format app: ```bash -pf flow build --source ../../../flows/standard/web-classification --output build --format docker +pf flow build --source ../../../flows/standard/web-classification --output dist --format docker ``` ## Deploy with Kubernetes @@ -26,7 +26,7 @@ Like other Dockerfile, you need to build the image first. You can tag the image Then run the command below: ```shell -cd build +cd dist docker build . -t web-classification-serve ```