Increase memory for Docker prod build (#182)

This commit is contained in:
Nutomic 2023-06-12 14:13:11 +02:00 committed by GitHub
parent f7fa4c0940
commit 11429cd0ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ COPY --from=docs /app/docs ./src/assets/docs
COPY --from=api /app/lemmy-js-client/docs ./src/assets/api
RUN yarn
RUN yarn build:prod
RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod
FROM node:14-alpine as runner
COPY --from=builder /app/dist /app/dist