bug: fixes #159 by adding more memory to npm invocations

This commit is contained in:
zznate 2025-10-01 14:44:19 +13:00
parent f4e1ca2ab7
commit 8e4a68a32c

View file

@ -33,8 +33,8 @@ RUN uv sync --frozen --no-install-project --no-editable --extra postgresql
# Build frontend
WORKDIR /app/src/frontend
RUN npm ci && \
npm run build && \
RUN NODE_OPTIONS=--max_old_space_size=1792 npm ci && \
NODE_OPTIONS=--max_old_space_size=1792 npm run build && \
mkdir -p /app/src/backend/base/langflow/frontend && \
cp -r build/* /app/src/backend/base/langflow/frontend/