From 72cdfaab801c69161d1adb375c9c2851ea73c594 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Mar 2026 13:51:20 +0200 Subject: [PATCH] added node-gyp install --- dockerfiles/ws-scrcpy.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dockerfiles/ws-scrcpy.Dockerfile b/dockerfiles/ws-scrcpy.Dockerfile index e03b324..fce5bfe 100644 --- a/dockerfiles/ws-scrcpy.Dockerfile +++ b/dockerfiles/ws-scrcpy.Dockerfile @@ -1,10 +1,12 @@ -FROM node:25-bookworm +FROM node:22-bookworm # System deps: ADB for device communication, build tools for native modules (node-pty) RUN apt-get update && \ apt-get install -y android-tools-adb python3 make g++ git && \ rm -rf /var/lib/apt/lists/* +RUN npm install -g node-gyp + # Clone and build ws-scrcpy WORKDIR /build RUN git clone --depth 1 https://github.com/NetrisTV/ws-scrcpy.git . && \