diff --git a/app/Commands/Rebuild.php b/app/Commands/Rebuild.php index bf5fdde..0ad2fa2 100644 --- a/app/Commands/Rebuild.php +++ b/app/Commands/Rebuild.php @@ -53,17 +53,21 @@ public function handle(TerminalService $terminal, DockerService $docker_service) $this->info("Rebuilding service: $service_name"); - return $terminal->execute([ - 'docker-compose', - 'pull', - ]) && $terminal->execute([ - 'docker-compose', - 'up', - '-d', - '--no-deps', - '--build', - $service_name, - ]); + $terminal->execute([ + 'docker-compose', + 'pull', + $service_name, + ]); + $terminal->execute([ + 'docker-compose', + 'up', + '-d', + '--no-deps', + '--build', + $service_name, + ]); + + return 0; } }