Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Nixpacks configuratie voor Coolify
|
||||
[phases.setup]
|
||||
nixPkgs = ["php83", "php83Packages.composer", "nodejs_20"]
|
||||
|
||||
[phases.install]
|
||||
cmds = [
|
||||
"composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader",
|
||||
"npm ci || npm install"
|
||||
]
|
||||
|
||||
[phases.build]
|
||||
cmds = [
|
||||
"npm run build",
|
||||
"php artisan config:cache",
|
||||
"php artisan route:cache",
|
||||
"php artisan view:cache"
|
||||
]
|
||||
|
||||
[start]
|
||||
cmd = "php artisan storage:link && touch database/database.sqlite && php artisan migrate --force && php artisan serve --host=0.0.0.0 --port=80"
|
||||
|
||||
Reference in New Issue
Block a user