Commit Graph

3 Commits

Author SHA1 Message Date
Nermin Karic
899ed44562 fix: webpack build, low memory limits, and sitemap try/catch for Docker deploy
- Switch both storefronts from Turbopack to Webpack (next build --webpack)
- Limit build workers to 1 CPU (experimental.cpus: 1)
- Reduce NODE_OPTIONS max-old-space-size from 2048 to 1024 MB
- Wrap sitemap.ts API calls in try/catch to prevent build crash when backend is unavailable during Docker build
- During build, sitemap returns static paths only; at runtime it fetches full dynamic data
2026-11-23 01:59:50 +01:00
Nermin Karic
aab60fc8d4 fix: add fallback publishable keys and memory limits for storefront builds 2026-11-23 01:36:47 +01:00
Nermin Karic
19143514ab fix izmjena dockera 2026-11-22 22:38:10 +01:00