Skip to content

Source and With Files

Only one source mode can be set on a component.

ModeShapeDescription
embeddedStringInline source content.
pathStringLocal directory path.
filesMapRunner-side filename to local file path.

Example:

source:
files:
app.yml: ./compose.yml

Adapters decide which source modes are valid. See the adapter reference pages for exact support.

with copies supporting files into the component runner workdir.

with:
config.json: ./config/dev.json

Unlike source.files, with files are not treated as script entrypoints or adapter primary files. They are just supporting context.