From 11429cd0ec3945750a81580e46339650433fc9c8 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Mon, 12 Jun 2023 14:13:11 +0200 Subject: [PATCH] Increase memory for Docker prod build (#182) --- 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