mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 15:39:25 +00:00
Try increasing node memory.
This commit is contained in:
parent
b73cb808e4
commit
08370d4c4e
|
@ -27,7 +27,7 @@ COPY .git .git
|
||||||
RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"
|
RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"
|
||||||
|
|
||||||
RUN yarn --production --prefer-offline
|
RUN yarn --production --prefer-offline
|
||||||
RUN yarn build:prod
|
RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod
|
||||||
|
|
||||||
# Prune the image
|
# Prune the image
|
||||||
RUN node-prune /usr/src/app/node_modules
|
RUN node-prune /usr/src/app/node_modules
|
||||||
|
|
Loading…
Reference in a new issue