From: Dessalines Date: Thu, 29 Jun 2023 15:12:12 +0000 (-0400) Subject: Try increasing node memory. X-Git-Url: http://these/git/%7B%60https:/%22https:/mastodon.uno/README.md?a=commitdiff_plain;h=08370d4c4e240b68fcc49a08af02b38fbd68eafe;p=lemmy-ui.git Try increasing node memory. --- diff --git a/Dockerfile b/Dockerfile index 2b36581..92b3f7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ COPY .git .git RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts" RUN yarn --production --prefer-offline -RUN yarn build:prod +RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod # Prune the image RUN node-prune /usr/src/app/node_modules