# 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" ] [start] cmd = "php artisan storage:link && mkdir -p database storage/framework/cache storage/framework/sessions storage/framework/views storage/logs && touch database/database.sqlite && chmod -R 777 database storage && php artisan migrate --force && php artisan db:seed --force && php artisan config:clear && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan serve --host=0.0.0.0 --port=80"