added node-gyp install

This commit is contained in:
user
2026-03-28 13:51:20 +02:00
parent 1eb76ea122
commit 72cdfaab80

View File

@@ -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 . && \