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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: default buildImage and baseBuildImage
Andras Bacsaia67618675dd1
diff --git a/apps/api/src/routes/api/v1/applications/handlers.ts b/apps/api/src/routes/api/v1/applications/handlers.tsindex fb5ea386c7..be06a35190 100644--- a/apps/api/src/routes/api/v1/applications/handlers.ts+++ b/apps/api/src/routes/api/v1/applications/handlers.ts@@ -798,7 +798,10 @@ export async function saveBuildPack(request, reply) {try {const { id } = request.paramsconst { buildPack } = request.body- await prisma.application.update({ where: { id }, data: { buildPack } });+ const { baseImage, baseBuildImage } = setDefaultBaseImage(+ buildPack+ );+ await prisma.application.update({ where: { id }, data: { buildPack, baseImage, baseBuildImage } });return reply.code(201).send()} catch ({ status, message }) {return errorHandler({ status, message })