💾 feat: Add Memory Configuration Options for CI unit tests

- responding to PR feedback from Copilot
This commit is contained in:
Doyle 2025-12-12 14:48:26 -05:00
parent b8fe41e59d
commit ef8f27122e
5 changed files with 12 additions and 8 deletions

View file

@ -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 && \