260319:0845 Fix UUID #17
Build and Deploy / deploy (push) Failing after 6m20s

This commit is contained in:
admin
2026-03-19 08:45:47 +07:00
parent 2a2b775bad
commit 06b578ee11
2 changed files with 8 additions and 8 deletions
+7 -3
View File
@@ -49,10 +49,14 @@ RUN cd backend && \
pnpm run build
# Deploy with production deps only (pnpm workspace isolation)
RUN pnpm --filter backend deploy --prod --shamefully-hoist --legacy /app/backend-prod \
&& find /app/backend-prod/node_modules -name "*.md" -delete \
RUN pnpm --filter backend deploy --prod --shamefully-hoist --legacy /app/backend-prod
# Clean up unnecessary files to reduce size
RUN find /app/backend-prod/node_modules -name "*.md" -delete \
&& find /app/backend-prod/node_modules -name "*.txt" -delete \
&& find /app/backend-prod/node_modules -name "LICENSE*" -delete
&& find /app/backend-prod/node_modules -name "LICENSE*" -delete \
&& find /app/backend-prod/node_modules -name "README*" -delete \
&& find /app/backend-prod/node_modules -name "CHANGELOG*" -delete
# =========================
# Stage 3: Production Runtime