heroku buildpack init

This commit is contained in:
Andras Bacsai
2022-08-11 13:20:34 +00:00
parent 7dd19c322d
commit 45be1cb49a
3 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
import { executeDockerCmd, prisma } from "../common"
export default async function (data: any): Promise<void> {
// console.log(data)
const {applicationId, tag, dockerId} = data
// try {
await executeDockerCmd({
dockerId,
command: `pack build ${applicationId}:${tag} --builder heroku/buildpacks:20`
})
// } catch (error) {
// throw error;
// }
}