diff --git a/packages/sandbox-container/build.ts b/packages/sandbox-container/build.ts index 01f2dee0..cfa8e445 100644 --- a/packages/sandbox-container/build.ts +++ b/packages/sandbox-container/build.ts @@ -62,9 +62,10 @@ console.log( console.log('Building standalone binary...'); // Compile standalone binary (bundles Bun runtime) +const bunExecutable = process.execPath; const proc = Bun.spawn( [ - 'bun', + bunExecutable, 'build', 'src/main.ts', '--compile',