From 1b1fd0839b46ecf0b6b33ca88ff48deb1fe2441c Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Tue, 30 Jul 2024 18:30:54 +0200 Subject: [PATCH] Dockerfile: install node-gyp globally --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1c5ae09..57cb478d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,8 @@ # nodejs 20 hangs on build with armv6/armv7 FROM docker.io/library/node:18-alpine AS build_node_modules -# Install Linux packages -RUN apk add --no-cache \ - python3 - # Update npm to latest -RUN npm install -g npm@latest +RUN npm install -g npm@latest node-gyp # Copy Web UI COPY src /app