design upgrade

This commit is contained in:
Nermin Karic
2026-11-23 00:59:47 +01:00
parent 9e84140474
commit ada6fd857c
198 changed files with 6626 additions and 2539 deletions

View File

@@ -28,6 +28,10 @@ ENV NODE_OPTIONS="--max-old-space-size=2048"
# Build Medusa backend and admin dashboard
RUN npm run build --workspace=@dtc/backend
# Copy compiled medusa-config.js and instrumentation.js to project root for production Node.js runtime
RUN cp apps/backend/.medusa/server/medusa-config.js apps/backend/medusa-config.js && \
if [ -f apps/backend/.medusa/server/instrumentation.js ]; then cp apps/backend/.medusa/server/instrumentation.js apps/backend/instrumentation.js; fi
# Prune devDependencies to keep image light and avoid OOM during copy
RUN npm prune --production --workspace=@dtc/backend