@if ($application->build_pack === 'dockerimage')
Nothing to build. This application deploys a prebuilt Docker image.
@if ($buildPack === 'dockercompose')
The following commands are for advanced use cases.
Only
modify them if you
know what are
you doing.
@if ($this->dockerComposeCustomBuildCommand)
@endif
@if ($this->dockerComposeCustomStartCommand)
@endif
@if ($this->application->is_github_based() && !$this->application->is_public_repository())
@endif
@else
@if ($buildPack === 'dockerfile' && !$application->dockerfile)
@endif
@if ($buildPack === 'dockerfile')
@endif
@if ($application->could_set_build_commands())
@if ($application->settings->is_static)
@else
@endif
@endif
@if ($this->application->is_github_based() && !$this->application->is_public_repository())
@endif
@if ($application->could_set_build_commands() && ($buildPack === 'nixpacks' || $buildPack === 'railpack'))
@endif
@if ($buildPack !== 'dockercompose')
@php
$hasBuildServers = \App\Models\Server::buildServers(currentTeam()->id)->exists();
$buildServerOptions = [
['value' => false, 'label' => 'Deployment server'],
$hasBuildServers
? ['value' => true, 'label' => 'Available build server (auto-select)']
: ['value' => true, 'label' => 'No build servers connected', 'disabled' => true],
];
@endphp
@endif
@endif