Source
The working directory for source-mode commands (install / dev). When a provider runs the app from source (launchfile dev), install and dev execute in this directory. Defaults to build.context, then the repository root.
components:
api:
source: ./apps/api # install/dev run here
commands:
install: "bun install"
dev: "bun run dev"source has no effect in artifact mode — providers that run the built artifact ignore it. See Source-mode commands for the full resolution rules and the dev > image > start precedence.