From 3594ce7197387296b271e4cc03e4a90fc0811ba0 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 12 Jun 2023 13:27:41 +0200 Subject: [PATCH] Increase memory for Docker prod build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af013ee..f40f668 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ COPY --from=docs /app/docs ./src/assets/docs COPY --from=api /app/lemmy-js-client/docs ./src/assets/api RUN yarn -RUN yarn build:prod +RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod FROM node:14-alpine as runner COPY --from=builder /app/dist /app/dist