diff --git a/Dockerfile b/Dockerfile index 7b8e8e7..db5da6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,17 @@ FROM alpine:3.19 RUN apk add --update --no-cache \ build-base \ - nodejs \ - npm \ + nodejs~=20 \ dbus \ rust cargo \ curl +# Use NPM from 3.20 to get around +# https://github.com/npm/cli/issues/4028 +RUN apk add --update --no-cache \ + --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \ + npm + WORKDIR /usr/src/app COPY package*.json ./