From 9ef9d3e645a2432de51b708dcf31e53017f9b7ae Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 08:10:02 +0000 Subject: [PATCH] chore(deps): update node.js to v22.12.0 --- .node-version | 2 +- Dockerfile | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.node-version b/.node-version index 7af24b7d..1d9b7831 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -22.11.0 +22.12.0 diff --git a/Dockerfile b/Dockerfile index f8b908a5..bbeb16ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.12.0@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5 -FROM node:22.11.0-bookworm@sha256:cb244536f6047c0057f1c6d90ae404880155c49b78fe2e8f25ef90c4fa7127a6 AS deps +FROM node:22.12.0-bookworm@sha256:e439f123f73545542424e39ebc5fd970f05f956eed9a48da5cbbd2894355cc0e AS deps ARG NODE_ENV=production WORKDIR /app RUN npm config set cache /.npm @@ -11,7 +11,7 @@ RUN --mount=type=cache,id=npm-$TARGETPLATFORM,target=/.npm \ npm ci RUN node -e "console.log(require('@discordjs-japan/om-syrinx').JPREPROCESS_VERSION)" > .jpreprocess-version -FROM --platform=$BUILDPLATFORM node:22.11.0-bookworm@sha256:cb244536f6047c0057f1c6d90ae404880155c49b78fe2e8f25ef90c4fa7127a6 AS builder +FROM --platform=$BUILDPLATFORM node:22.12.0-bookworm@sha256:e439f123f73545542424e39ebc5fd970f05f956eed9a48da5cbbd2894355cc0e AS builder ARG NODE_ENV=development WORKDIR /app RUN npm config set cache /.npm @@ -24,16 +24,16 @@ RUN --mount=type=cache,id=npm-$BUILDPLATFORM,target=/.npm \ COPY --link ./src/ ./src/ RUN npm run build -FROM --platform=$BUILDPLATFORM node:22.11.0-bookworm@sha256:cb244536f6047c0057f1c6d90ae404880155c49b78fe2e8f25ef90c4fa7127a6 AS dictionary +FROM --platform=$BUILDPLATFORM node:22.12.0-bookworm@sha256:e439f123f73545542424e39ebc5fd970f05f956eed9a48da5cbbd2894355cc0e AS dictionary WORKDIR /app COPY --link --from=deps /app/.jpreprocess-version ./ RUN curl -L "https://github.com/jpreprocess/jpreprocess/releases/download/v$(cat .jpreprocess-version)/naist-jdic-jpreprocess.tar.gz" | tar xzf - -FROM --platform=$BUILDPLATFORM node:22.11.0-bookworm@sha256:cb244536f6047c0057f1c6d90ae404880155c49b78fe2e8f25ef90c4fa7127a6 AS models +FROM --platform=$BUILDPLATFORM node:22.12.0-bookworm@sha256:e439f123f73545542424e39ebc5fd970f05f956eed9a48da5cbbd2894355cc0e AS models WORKDIR /app RUN curl -L "https://github.com/icn-lab/htsvoice-tohoku-f01/archive/refs/heads/master.tar.gz" | tar xzf - -FROM --platform=$BUILDPLATFORM node:22.11.0-bookworm@sha256:cb244536f6047c0057f1c6d90ae404880155c49b78fe2e8f25ef90c4fa7127a6 AS user-dictionary +FROM --platform=$BUILDPLATFORM node:22.12.0-bookworm@sha256:e439f123f73545542424e39ebc5fd970f05f956eed9a48da5cbbd2894355cc0e AS user-dictionary WORKDIR /app COPY --link --from=deps /app/.jpreprocess-version ./ RUN curl -L "https://github.com/jpreprocess/jpreprocess/releases/download/v$(cat .jpreprocess-version)/jpreprocess-$(uname -m)-unknown-linux-gnu.tgz" | tar xzf -