Commit Graph

10 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
ec3a4e6efc Merge pull request 'fix: set runner WORKDIR to .medusa/server for custom module resolution' (#7) from fix/dokploy-build-memory into main
Reviewed-on: #7
2026-11-23 00:14:26 +00:00
Nermin Karic
3ed45c4362 fix: set runner WORKDIR to .medusa/server for custom module resolution 2026-11-23 01:11:52 +01:00
e2279993ae Merge pull request 'design upgrade' (#6) from feat/design-upgrade into main
Reviewed-on: #6
2026-11-23 00:00:05 +00:00
Nermin Karic
ada6fd857c design upgrade 2026-11-23 00:59:47 +01:00
Nermin Karic
df9f8b3a7c fix: copy compiled medusa-config.js for production runtime 2026-11-22 23:13:23 +01:00
Nermin Karic
45adcc2621 optimize Dockerfile: sequential build and memory limit for VPS 2026-11-22 22:51:01 +01:00
Nermin Karic
19143514ab fix izmjena dockera 2026-11-22 22:38:10 +01:00
Nermin Karic
f5e2fcbf98 first commit 2026-11-22 21:49:17 +01:00