fix: memory leak fixes for nextjs.
Addresses high memory usage by adding gzip compression to nginx (removing it from nextjs) socket cleanup handling, and tRPC client optimizations. Ref: https://github.com/homarr-labs/homarr/issues/3759
This commit is contained in:
1 parent
6a45645354
commit
c5e69c3e40
7 files changed
+41
-4
No files matched your search
@@ -52,6 +52,7 @@ COPY --from=builder /app/packages/db/migrations ./db/migrations
|
||||
# Automatically leverage output traces to reduce image size
|
||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||
COPY --from=builder /app/apps/nextjs/.next/standalone ./
|
||||
COPY apps/nextjs/socket-cleanup.cjs ./apps/nextjs/socket-cleanup.cjs
|
||||
COPY --from=builder /app/apps/nextjs/.next/static ./apps/nextjs/.next/static
|
||||
COPY --from=builder /app/apps/nextjs/public ./apps/nextjs/public
|
||||
COPY scripts/run.sh ./run.sh
|
||||
|
||||
Reference in new issue
Block a user