PhyrePanel-mirror/web/Modules/Docker/PostInstall.php
2024-04-22 14:14:05 +03:00

15 lines
299 B
PHP

<?php
namespace Modules\Docker;
class PostInstall
{
public function run()
{
$installDockerShellFile = base_path('Modules/Docker/shell-scripts/install-docker.sh');
shell_exec("chmod +x $installDockerShellFile");
shell_exec("bash $installDockerShellFile");
}
}