mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 23:58:50 +01:00
💾 feat: Add Memory Configuration Options for CI unit tests
- responding to PR feedback from Copilot
This commit is contained in:
parent
b8fe41e59d
commit
ef8f27122e
5 changed files with 12 additions and 8 deletions
|
|
@ -1,6 +1,9 @@
|
|||
# Dockerfile.multi
|
||||
# v0.8.1
|
||||
|
||||
# Set configurable max-old-space-size with default
|
||||
ARG NODE_MAX_OLD_SPACE_SIZE=6144
|
||||
|
||||
# Base for all builds
|
||||
FROM node:20-alpine AS base-min
|
||||
# Install jemalloc
|
||||
|
|
@ -8,9 +11,6 @@ RUN apk add --no-cache jemalloc
|
|||
# Set environment variable to use jemalloc
|
||||
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
|
||||
|
||||
# Set configurable max-old-space-size with default
|
||||
ARG NODE_MAX_OLD_SPACE_SIZE=6144
|
||||
|
||||
WORKDIR /app
|
||||
RUN apk --no-cache add curl
|
||||
RUN npm config set fetch-retry-maxtimeout 600000 && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue