feat: dockerfile build pack

This commit is contained in:
Andras Bacsai committed 2023-08-11 22:41:47 +02:00
1 parent 82a01b4483
commit 619d395331
21 files changed
+330 -137

No files matched your search

+14
View File
@@ -215,4 +215,18 @@ class Application extends BaseModel
}
throw new \Exception('No deployment type found');
}
public function could_set_build_commands(): bool
{
if ($this->build_pack === 'nixpacks') {
return true;
}
return false;
}
public function git_based(): bool
{
if ($this->dockerfile || $this->build_pack === 'dockerfile') {
return false;
}
return true;
}
}