This commit is contained in:
Andras Bacsai
2023-06-08 10:15:29 +02:00
parent d650f61845
commit 63d268c77e

View File

@@ -177,7 +177,7 @@ class ApplicationDeploymentJob implements ShouldQueue
"echo -n 'Building image... '", "echo -n 'Building image... '",
]); ]);
if ($this->application->settings->is_static) { if ($this->application->settings->is_static && isset($this->application->build_command)) {
$this->execute_now([ $this->execute_now([
$this->execute_in_builder("docker build -f {$this->workdir}/Dockerfile {$this->build_args} --progress plain -t { $this->build_image_name {$this->workdir}"), $this->execute_in_builder("docker build -f {$this->workdir}/Dockerfile {$this->build_args} --progress plain -t { $this->build_image_name {$this->workdir}"),
], isDebuggable: true); ], isDebuggable: true);