diff --git a/docker/Dockerfile b/docker/Dockerfile index 98ba4cc815..59d2c375b8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,13 +1,13 @@ ARG image=zwave-js-ui -FROM alpine:3.18.4 as base +FROM alpine:3.21.0 AS base RUN apk add --no-cache \ openssl \ libusb \ tzdata \ eudev \ - nodejs=18.20.1-r0 + nodejs=22.11.0-r0 # https://pkgs.alpinelinux.org/packages?name=nodejs&branch=edge&repo=&arch=&maintainer= @@ -22,7 +22,7 @@ RUN \ build-base \ linux-headers \ python3-dev \ - npm=9.6.6-r0 + npm=10.9.1-r0 COPY . . @@ -68,7 +68,7 @@ FROM base AS runtime # Copy files from previous build stage COPY --from=build-zui /usr/src/app /usr/src/app -ENV TAG_NAME=${image_name} +ENV TAG_NAME=${image} ENV NODE_ENV=production diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian index d4ec0bd06f..677e7e6c98 100644 --- a/docker/Dockerfile.debian +++ b/docker/Dockerfile.debian @@ -60,7 +60,7 @@ RUN apt-get update && apt-get install -y \ # Copy files from the previous build stage COPY --from=build-zui /usr/src/app /usr/src/app -ENV TAG_NAME=${image_name} +ENV TAG_NAME=${image} ENV NODE_ENV=production