From ef80f57f5892d2ccac22e36c92720750461806bd Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat, 11 May 2024 21:20:02 +0200 Subject: [PATCH] Dockerfile: nodejs 22 is not fixed for builds stay on for nodejs 18 for that step --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e5eb4cae..c679815c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,9 @@ -FROM docker.io/library/node:22-alpine AS build_node_modules +# As a workaround we have to build on nodejs 18 +# nodejs 22 hangs on build with armv6/armv7 +FROM docker.io/library/node:18-alpine AS build_node_modules + +# Update npm to latest +RUN npm install -g npm@latest # Copy Web UI COPY src /app