Skip to content

Commit 0f1a92e

Browse files
committed
Add deployment and build instructions
1 parent 1fd495d commit 0f1a92e

File tree

1 file changed

+20
-0
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-vertexai/examples/langgraph-chatbot-demo

1 file changed

+20
-0
lines changed

instrumentation-genai/opentelemetry-instrumentation-vertexai/examples/langgraph-chatbot-demo/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,23 @@ uv run run_streamlit_local.py
3030
```sh
3131
uv run streamlit run src/langgraph_chatbot_demo/langchain_history.py
3232
```
33+
34+
## Deploy
35+
36+
Build the docker image
37+
38+
```sh
39+
PROJECT=<...>
40+
TAG=0.x.y
41+
42+
# Update GIT_REF to a commit SHA to force rebuilding if the branch is updated
43+
docker build --build-arg GIT_REF=vertex-langgraph . -t us-central1-docker.pkg.dev/{$PROJECT}/oci/langgraph-chatbot-demo:${TAG}
44+
```
45+
46+
### App Engine
47+
48+
Use the included app.yaml
49+
50+
```sh
51+
gcloud app deploy --image-url=us-central1-docker.pkg.dev/${PROJECT}/oci/langgraph-chatbot-demo:${TAG} app.yaml
52+
```

0 commit comments

Comments
 (0)