Understand the Typst MCP Docker architecture
mainThe project utilizes a multi-stage build system to optimize build times:
- Base image: Contains pre-compiled Typst documentation (built from Rust nightly). This image only needs to be rebuilt when the Typst documentation itself changes.
- Runtime image: Contains the MCP server (built from Python slim) and inherits from the base image. This is the image used for standard operations and is rebuilt when the Python server code changes.