From 63ce0fa5ad1a3f71c947094e97e142fbefe7048c Mon Sep 17 00:00:00 2001 From: katspaugh Date: Tue, 29 Aug 2023 12:08:58 +0200 Subject: [PATCH] Install libusb --- Dockerfile | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c1f7677f28..c7005e98b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM node:18-alpine -RUN apk add --no-cache libc6-compat git python3 py3-pip make g++ +RUN apk add --no-cache libc6-compat git python3 py3-pip make g++ libusb-dev eudev-dev linux-headers WORKDIR /app COPY . . diff --git a/package.json b/package.json index b1067d6aa0..96f1c974e0 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,9 @@ "serve": "npx -y serve out -p ${REVERSE_PROXY_UI_PORT:=8080}", "static-serve": "yarn build && yarn serve" }, + "engines": { + "node": ">=16" + }, "pre-commit": [ "lint" ],