Skip to main content

Module deploy

Module deploy 

Source
Expand description

Deployment building blocks: Dockerfile rendering and validation.

DockerfileBuilder renders the runtime-image Dockerfile from the discovered extensions and services config; the validation helpers assert a profile’s Dockerfile copies the expected MCP binaries and carries no stale ones. find_services_config locates the project’s services config, the shared input to both. Everything here is filesystem-read-only — writing the rendered Dockerfile is the caller’s concern.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

DockerfileBuilder

Functions§

find_services_config
generate_dockerfile_content
get_required_mcp_copy_lines
validate_dockerfile_has_mcp_binaries
validate_dockerfile_has_no_stale_binaries
validate_profile_dockerfile