diff --git a/.node-version b/.node-version index 8ce70308..3516580b 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.16.0 +20.17.0 diff --git a/Dockerfile b/Dockerfile index cb8c092c..02f14aea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.9.0@sha256:fe40cf4e92cd0c467be2cfc30657a680ae2398318afd50b0c80585784c604f28 -FROM node:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS deps +FROM node:20.17.0-bookworm@sha256:a4d1de4c7339eabcf78a90137dfd551b798829e3ef3e399e0036ac454afa1291 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:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS builder +FROM --platform=$BUILDPLATFORM node:20.17.0-bookworm@sha256:a4d1de4c7339eabcf78a90137dfd551b798829e3ef3e399e0036ac454afa1291 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:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS dictionary +FROM --platform=$BUILDPLATFORM node:20.17.0-bookworm@sha256:a4d1de4c7339eabcf78a90137dfd551b798829e3ef3e399e0036ac454afa1291 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:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS models +FROM --platform=$BUILDPLATFORM node:20.17.0-bookworm@sha256:a4d1de4c7339eabcf78a90137dfd551b798829e3ef3e399e0036ac454afa1291 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:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS user-dictionary +FROM --platform=$BUILDPLATFORM node:20.17.0-bookworm@sha256:a4d1de4c7339eabcf78a90137dfd551b798829e3ef3e399e0036ac454afa1291 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 - diff --git a/package-lock.json b/package-lock.json index 7c9ef690..39791b87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@eslint/js": "8.57.0", "@types/eslint__js": "8.42.3", "@types/eslint-config-prettier": "6.11.3", - "@types/node": "20.16.1", + "@types/node": "20.16.2", "dotenv": "16.4.5", "esbuild": "0.23.1", "esbuild-plugin-version-injector": "1.2.1", @@ -1201,9 +1201,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.16.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.1.tgz", - "integrity": "sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==", + "version": "20.16.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.2.tgz", + "integrity": "sha512-91s/n4qUPV/wg8eE9KHYW1kouTfDk2FPGjXbBMfRWP/2vg1rCXNQL1OCabwGs0XSdukuK+MwCDXE30QpSeMUhQ==", "license": "MIT", "dependencies": { "undici-types": "~6.19.2" diff --git a/package.json b/package.json index d3d4a814..9094bcdf 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@eslint/js": "8.57.0", "@types/eslint__js": "8.42.3", "@types/eslint-config-prettier": "6.11.3", - "@types/node": "20.16.1", + "@types/node": "20.16.2", "dotenv": "16.4.5", "esbuild": "0.23.1", "esbuild-plugin-version-injector": "1.2.1",