X-Git-Url: http://these/git/?a=blobdiff_plain;f=Dockerfile;h=92b3f7e62de6c3576b18a45b24d5db4f25047774;hb=8b478e971244321048818c95df00198cb445dba9;hp=2b36581d28d6ceebe2a891d35abe15fb9da410a3;hpb=4d716e039b8b96e6f4296f7e1ba7ae25d578741e;p=lemmy-ui.git 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