Files
jouwdriedee/nixpacks.toml
T
2026-10-31 13:24:24 +01:00

22 lines
548 B
TOML

# 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"