Skip to content

Commit

Permalink
Add admonition regarding dockerfile usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Jan 12, 2025
1 parent 7bd79c2 commit c3eb697
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/docs/cloud/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,7 @@ RUN set -ex && \
RUN PIP_CONFIG_FILE=/pipconfig.txt PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -c /api/constraints.txt -e /deps/*

ENV LANGSERVE_GRAPHS='{"agent": "/deps/__outer_graphs/src/agent.py:graph", "storm": "/deps/__outer_graphs/src/storm.py:graph"}'
```
```

???+ note "Updating your langgraph.json file"
The `langgraph dockerfile` command translates all the configuration in your `langgraph.json` file into Dockerfile commands. When using this command, you will have to re-run it whenever you update your `langgraph.json` file. Otherwise, your changes will not be reflected when you build or run the dockerfile.
3 changes: 3 additions & 0 deletions docs/docs/concepts/langgraph_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ The server includes all API endpoints for your graph's runs, threads, assistants

The `langgraph dockerfile` command generates a [Dockerfile](https://docs.docker.com/reference/dockerfile/) that can be used to build images for and deploy instances of the [LangGraph API server](./langgraph_server.md). This is useful if you want to further customize the dockerfile or deploy in a more custom way.

??? note "Updating your langgraph.json file"
The `langgraph dockerfile` command translates all the configuration in your `langgraph.json` file into Dockerfile commands. When using this command, you will have to re-run it whenever you update your `langgraph.json` file. Otherwise, your changes will not be reflected when you build or run the dockerfile.

## Related

- [LangGraph CLI API Reference](../cloud/reference/cli.md)

0 comments on commit c3eb697

Please sign in to comment.