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
Handle string build parameter
Talha Zekeriya Durmuş2be30fae0040
diff --git a/apps/api/src/lib/buildPacks/compose.ts b/apps/api/src/lib/buildPacks/compose.tsindex 5c341b3f64..b22c129eab 100644--- a/apps/api/src/lib/buildPacks/compose.ts+++ b/apps/api/src/lib/buildPacks/compose.ts@@ -53,6 +53,9 @@ export default async function (data) {value['environment'] = [...environment, ...envs];let build = typeof value['build'] === 'undefined' ? {} : value['build'];+ if (typeof build === 'string') {+ build = { context: build }+ }let buildArgs = typeof build['args'] === 'undefined' ? [] : value['args'];if (Object.keys(buildArgs).length > 0) {buildArgs = Object.entries(buildArgs).map(([key, value]) => `${key}=${value}`);