addBunApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addBunApp( name: string, appDirectory: string, scriptPath: string): BunAppResource;}Signature
method
addBunApp builderAdds a Bun application to the application model. Bun should be available on the PATH.
addBunApp( name: string, appDirectory: string, scriptPath: string): BunAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the Bun application.scriptPath stringThe path to the script (for example, `server.ts`) relative to `appDirectory` to run.Returns
BunAppResource Applies to
This method applies to the following types: