fix(ci):increase build limits preventing heap OOM
Some checks failed
Build and Push API / build-api (pull_request) Successful in 6m55s
Build and Push Worker / build-worker (pull_request) Has been cancelled
Build and Push Dashboard / build-dashboard (pull_request) Successful in 2h6m6s
Build and Push API / build-api (push) Successful in 8m40s
Build and Push Worker / build-worker (push) Successful in 7m23s
Build and Push Dashboard / build-dashboard (push) Failing after 1h53m54s
Some checks failed
Build and Push API / build-api (pull_request) Successful in 6m55s
Build and Push Worker / build-worker (pull_request) Has been cancelled
Build and Push Dashboard / build-dashboard (pull_request) Successful in 2h6m6s
Build and Push API / build-api (push) Successful in 8m40s
Build and Push Worker / build-worker (push) Successful in 7m23s
Build and Push Dashboard / build-dashboard (push) Failing after 1h53m54s
This commit is contained in:
@@ -85,6 +85,7 @@ COPY apps/public/public/op1.js ./apps/start/public/op1.js
|
|||||||
FROM --platform=$BUILDPLATFORM base-build AS build
|
FROM --platform=$BUILDPLATFORM base-build AS build
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
|
|
||||||
# Install all dependencies (including dev dependencies for build)
|
# Install all dependencies (including dev dependencies for build)
|
||||||
RUN pnpm install --frozen-lockfile && \
|
RUN pnpm install --frozen-lockfile && \
|
||||||
|
|||||||
Reference in New Issue
Block a user