From fb79373a6d54d710ee5473081626844658bcbacf Mon Sep 17 00:00:00 2001 From: Matt Cengia Date: Thu, 16 Jul 2020 15:54:26 +1000 Subject: [PATCH] Bump node build version When trying to build the Docker image, I kept receiving an out-of-memory error from Webpack. This issue is apparently explained at https://github.com/webpack/webpack/issues/1914. Several comments in the issue suggested using Node 12 or above. Doing so resolved this issue for me. Signed-off-by: Matt Cengia --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cff56f5fd5..98d59e7338 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder -FROM node:10 as builder +FROM node:12 as builder # Support custom branches of the react-sdk and js-sdk. This also helps us build # images of riot-web develop.