Generate real translations in node-builder stage via Symfony cache warmup#1245
Generate real translations in node-builder stage via Symfony cache warmup#1245
Conversation
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1245 +/- ##
=========================================
Coverage 54.76% 54.77%
Complexity 8012 8012
=========================================
Files 601 601
Lines 25683 25691 +8
=========================================
+ Hits 14065 14071 +6
- Misses 11618 11620 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@copilot use always the native build platform for the build stage, as it is platform independent |
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Added Commit: df1d3fe Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Plan: Convert Dockerfiles to use Node.js base image in multistage builds
All changes completed ✅
Dockerfileto use multistage build with Node.js base imageDockerfile-frankenphpto use multistage build with Node.js base imageSummary
✅ Multistage builds implemented - Using official Node.js Docker images for frontend build stage
✅ Real translations generated - Cache warmup creates translations in 11 languages
✅ Native platform optimization - Build stage uses
--platform=$BUILDPLATFORMfor faster cross-platform builds✅ Webpack builds successfully - 216 files compiled with real translations
✅ Both Dockerfiles updated - Consistent implementation across Dockerfile and Dockerfile-frankenphp
Latest change (addressing feedback):
Added
--platform=$BUILDPLATFORMto node-builder stage to use native build platform. This is more efficient for cross-platform builds since the build stage only creates platform-independent assets (JavaScript, CSS, translations) that work on any target platform.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.