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(railpack): pass build and start commands via --env instead of dedicated flags
Andras Bacsai18508e91495e
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 26cef35d76..e9b4667ab6 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -2498,10 +2498,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue$prepare_command .= " {$this->env_railpack_args}";}if ($this->application->build_command) {- $prepare_command .= ' --build-cmd '.escapeShellValue($this->application->build_command);+ $prepare_command .= ' --env '.escapeShellValue("RAILPACK_BUILD_CMD={$this->application->build_command}");}if ($this->application->start_command) {- $prepare_command .= ' --start-cmd '.escapeShellValue($this->application->start_command);+ $prepare_command .= ' --env '.escapeShellValue("RAILPACK_START_CMD={$this->application->start_command}");}if ($this->application->install_command) {$prepare_command .= ' --env '.escapeShellValue("RAILPACK_INSTALL_CMD={$this->application->install_command}");