Pull Request Merged
PR #39 merged: fix: add composer to frontend-build stage
Summary
- Frontend builds were failing with
composer: not founderror - The
laravel-coolify-baseimage has PHP+Node but not Composer - Added
COPY --from=composer:2to copy Composer binary before runningcomposer install
Problem
When a project has package.json, the Dockerfile generator creates a frontend-build stage that runs composer install (needed for Laravel Vite plugins like Wayfinder that run artisan commands during build). However, the base image didn't have Composer installed.
Test plan
- All 231 existing tests pass
- Deploy a project with
package.jsonto verify the build succeeds
Stu Mason + AI [email protected]
+5
additions
-0
deletions
2
files changed