Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: stream logs for heroku bp

Andras Bacsai4cd7af7a748c
diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts
index 881764ef4b..a40e8e36a9 100644
--- a/apps/api/src/lib/common.ts
+++ b/apps/api/src/lib/common.ts
@@ -585,7 +585,7 @@ export async function executeDockerCmd({ debug, buildId, applicationId, dockerId
command = command.replace(/docker compose/gi, 'docker-compose');
}
}
- if (command.startsWith(`docker build --progress plain`)) {
+ if (command.startsWith(`docker build --progress plain`) || command.startsWith(`pack build`)) {
return await asyncExecShellStream({ debug, buildId, applicationId, command, engine });
}
return await execaCommand(command, { env: { DOCKER_BUILDKIT: "1", DOCKER_HOST: engine }, shell: true })