Merge pull request #160 from langflow-ai/159-docker-npm

bug: closes #159 by adding more memory to npm invocations
This commit is contained in:
Nate McCall 2025-10-03 05:00:32 +13:00 committed by GitHub
commit 535841e882
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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=4096 npm ci && \
NODE_OPTIONS=--max_old_space_size=4096 npm run build && \
mkdir -p /app/src/backend/base/langflow/frontend && \
cp -r build/* /app/src/backend/base/langflow/frontend/