260319:0856 Fix UUID #18
Build and Deploy / deploy (push) Successful in 8m38s

This commit is contained in:
admin
2026-03-19 08:56:45 +07:00
parent 06b578ee11
commit e8bdd7d7fc
4 changed files with 10 additions and 8 deletions
+2
View File
@@ -1,3 +1,5 @@
shamefully-hoist=true shamefully-hoist=true
public-hoist-pattern[]=*typeorm* public-hoist-pattern[]=*typeorm*
public-hoist-pattern[]=*ts-node* public-hoist-pattern[]=*ts-node*
# Reduce bin creation warnings
prefer-workspace-packages=true
+2 -1
View File
@@ -49,7 +49,8 @@ RUN cd backend && \
pnpm run build pnpm run build
# Deploy with production deps only (pnpm workspace isolation) # Deploy with production deps only (pnpm workspace isolation)
RUN pnpm --filter backend deploy --prod --shamefully-hoist --legacy /app/backend-prod RUN PNPM_IGNORE_SCRIPTS=none \
pnpm --filter backend deploy --prod --shamefully-hoist --legacy --no-optional /app/backend-prod
# Clean up unnecessary files to reduce size # Clean up unnecessary files to reduce size
RUN find /app/backend-prod/node_modules -name "*.md" -delete \ RUN find /app/backend-prod/node_modules -name "*.md" -delete \
+2 -2
View File
@@ -48,8 +48,8 @@ ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
ENV NODE_OPTIONS="--max-old-space-size=2048" ENV NODE_OPTIONS="--max-old-space-size=2048"
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1
# Build Next.js → frontend/.next/standalone # Build Next.js → frontend/.next/standalone (use webpack to avoid Turbopack issues)
RUN cd frontend && pnpm run build RUN cd frontend && pnpm run build --webpack
# ========================= # =========================
+4 -5
View File
@@ -36,13 +36,12 @@ const nextConfig = {
}, },
*/ */
// 5. Experimental: Handle client component static generation issues // 5. Turbopack config for Next.js 16
experimental: { turbopack: {
// Disable static optimization for client components that cause build failures // Empty config to silence Turbopack warnings
missingSuspenseWithCSRBailout: false,
}, },
// 5.1. Webpack config to suppress warnings // 5.1. Webpack config (fallback for Turbopack)
webpack: (config, { dev, isServer }) => { webpack: (config, { dev, isServer }) => {
if (!dev && !isServer) { if (!dev && !isServer) {
config.stats = { config.stats = {