Add build and start commands to nixpacks.toml
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
[phases.build]
|
||||||
|
cmds = [
|
||||||
|
"composer install --no-dev --optimize-autoloader --no-scripts",
|
||||||
|
"npm ci",
|
||||||
|
"npm run build"
|
||||||
|
]
|
||||||
|
|
||||||
|
[start]
|
||||||
|
cmd = "php artisan serve --host=0.0.0.0 --port=80"
|
||||||
Reference in New Issue
Block a user