projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73cb80
)
Try increasing node memory.
author
Dessalines
<tyhou13@gmx.com>
Thu, 29 Jun 2023 15:12:12 +0000
(11:12 -0400)
committer
Dessalines
<tyhou13@gmx.com>
Thu, 29 Jun 2023 15:12:12 +0000
(11:12 -0400)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index 2b36581d28d6ceebe2a891d35abe15fb9da410a3..92b3f7e62de6c3576b18a45b24d5db4f25047774 100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-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