fix: add nixpacks info
This commit is contained in:
parent
7a117c61c4
commit
8d571a5eab
@ -49,14 +49,21 @@
|
|||||||
@if ($application->build_pack !== 'dockerimage')
|
@if ($application->build_pack !== 'dockerimage')
|
||||||
<h3>Build</h3>
|
<h3>Build</h3>
|
||||||
@if ($application->could_set_build_commands())
|
@if ($application->could_set_build_commands())
|
||||||
<div class="flex flex-col gap-2 xl:flex-row">
|
@if ($application->build_pack === 'nixpacks')
|
||||||
<x-forms.input placeholder="pnpm install" id="application.install_command"
|
<div>Nixpacks will detect your package manager/configurations: <a class="underline" href="https://nixpacks.com/docs/providersnode">Nixpacks documentation</a></div>
|
||||||
label="Install Command" />
|
<div class="text-warning">You probably do not need to modify the commands below.</div>
|
||||||
<x-forms.input placeholder="pnpm build" id="application.build_command" label="Build Command" />
|
<div class="flex flex-col gap-2 xl:flex-row">
|
||||||
<x-forms.input placeholder="pnpm start" id="application.start_command" label="Start Command" />
|
<x-forms.input placeholder="If you modify this, you probably need to have a nixpacks.toml" id="application.install_command"
|
||||||
</div>
|
label="Install Command" />
|
||||||
|
<x-forms.input placeholder="If you modify this, you probably need to have a nixpacks.toml" id="application.build_command"
|
||||||
|
label="Build Command" />
|
||||||
|
<x-forms.input placeholder="If you modify this, you probably need to have a nixpacks.toml" id="application.start_command"
|
||||||
|
label="Start Command" />
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
<div class="flex flex-col gap-2 xl:flex-row">
|
<div class="flex flex-col gap-2 xl:flex-row">
|
||||||
<x-forms.input placeholder="/" id="application.base_directory" label="Base Directory"
|
<x-forms.input placeholder="/" id="application.base_directory" label="Base Directory"
|
||||||
helper="Directory to use as root. Useful for monorepos." />
|
helper="Directory to use as root. Useful for monorepos." />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user