From d4a8eda055b32c1ba4952401a8e5b5abf042f23c 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..801345a0f2 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 file-dev 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" ],