X-Git-Url: http://these/git/?a=blobdiff_plain;f=Dockerfile;h=92b3f7e62de6c3576b18a45b24d5db4f25047774;hb=214eae5be57f87afe1905c7fc97a7d03df8dfd5b;hp=2b36581d28d6ceebe2a891d35abe15fb9da410a3;hpb=9c37cea106571a492e0b951fa66a182395053b67;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