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
Revert commented out code and execute remote command to remove Docker container
Andras Bacsai94e2d951c405
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 3ebe7f5789..1a243c3599 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -265,13 +265,13 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted} else {$this->write_deployment_configurations();}- // $this->execute_remote_command(- // [- // "docker rm -f {$this->deployment_uuid} >/dev/null 2>&1",- // "hidden" => true,- // "ignore_errors" => true,- // ]- // );+ $this->execute_remote_command(+ [+ "docker rm -f {$this->deployment_uuid} >/dev/null 2>&1",+ "hidden" => true,+ "ignore_errors" => true,+ ]+ );$this->execute_remote_command(["docker image prune -f >/dev/null 2>&1",