]> Untitled Git - lemmy-ui.git/blobdiff - Dockerfile
fix: Break text on post titles so long words don't overflow
[lemmy-ui.git] / Dockerfile
index 2b36581d28d6ceebe2a891d35abe15fb9da410a3..92b3f7e62de6c3576b18a45b24d5db4f25047774 100644 (file)
@@ -27,7 +27,7 @@ COPY .git .git
 RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"\r
 \r
 RUN yarn --production --prefer-offline\r
-RUN yarn build:prod\r
+RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod\r
 \r
 # Prune the image\r
 RUN node-prune /usr/src/app/node_modules\r