# config_to_docker

> **Function** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/config/config_to_docker)

## Signature

```python
config_to_docker(
    config_path: pathlib.Path,
    config: Config,
    *,
    base_image: str | None = None,
    api_version: str | None = None,
    install_command: str | None = None,
    build_command: str | None = None,
    build_context: str | None = None,
    escape_variables: bool = False,
) -> tuple[str, dict[str, str]]
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/55ec2f21939ce7755e6398c11b541de8926245ee/libs/cli/langgraph_cli/config.py#L1618)