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