Skip to content

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.

refactor: remove commented code for docker container removal

Andras Bacsaifff7ec9ba729
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index 640950be99..65e9f2e93f 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -293,13 +293,13 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
} 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(
// [