feat: able to deploy docker images

This commit is contained in:
Andras Bacsai
2023-10-10 11:16:38 +02:00
parent 8abfaa1967
commit 14d9c06dcd
7 changed files with 66 additions and 27 deletions

View File

@@ -259,13 +259,14 @@ class Application extends BaseModel
if ($this->dockerfile) {
return false;
}
if ($this->build_pack === 'dockerimage'){
return false;
}
return true;
}
public function isHealthcheckDisabled(): bool
{
if (data_get($this, 'dockerfile') || data_get($this, 'build_pack') === 'dockerfile' || data_get($this, 'health_check_enabled') === false) {
ray('dockerfile');
return true;
}
return false;