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:
commit
535841e882
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ RUN uv sync --frozen --no-install-project --no-editable --extra postgresql
|
||||||
|
|
||||||
# Build frontend
|
# Build frontend
|
||||||
WORKDIR /app/src/frontend
|
WORKDIR /app/src/frontend
|
||||||
RUN npm ci && \
|
RUN NODE_OPTIONS=--max_old_space_size=4096 npm ci && \
|
||||||
npm run build && \
|
NODE_OPTIONS=--max_old_space_size=4096 npm run build && \
|
||||||
mkdir -p /app/src/backend/base/langflow/frontend && \
|
mkdir -p /app/src/backend/base/langflow/frontend && \
|
||||||
cp -r build/* /app/src/backend/base/langflow/frontend/
|
cp -r build/* /app/src/backend/base/langflow/frontend/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue