Skip to content

Commit

Permalink
build(deps): update node.js to ae2f3d4 (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 23, 2025
1 parent 6aa3b21 commit aee7797
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.13.0@sha256:426b85b823c113372f766a963f68cfd9cd4878e1bcc0fda58779127ee98a28eb

FROM node:22.13.1-bookworm@sha256:217e082c8497dd55b5bf9643c216cbafee2ed3c41cc7074ad440187deff2c64b AS deps
FROM node:22.13.1-bookworm@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd AS deps
ARG NODE_ENV=production
WORKDIR /app
RUN npm config set cache /.npm
Expand All @@ -11,7 +11,7 @@ RUN --mount=type=cache,id=npm-$TARGETPLATFORM,target=/.npm \
npm ci
RUN node --print "require('@discordjs-japan/om-syrinx').JPREPROCESS_VERSION" > .jpreprocess-version

FROM --platform=$BUILDPLATFORM node:22.13.1-bookworm@sha256:217e082c8497dd55b5bf9643c216cbafee2ed3c41cc7074ad440187deff2c64b AS builder
FROM --platform=$BUILDPLATFORM node:22.13.1-bookworm@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd AS builder
ARG NODE_ENV=development
WORKDIR /app
RUN npm config set cache /.npm
Expand All @@ -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.13.1-bookworm@sha256:217e082c8497dd55b5bf9643c216cbafee2ed3c41cc7074ad440187deff2c64b AS dictionary
FROM --platform=$BUILDPLATFORM node:22.13.1-bookworm@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd 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.13.1-bookworm@sha256:217e082c8497dd55b5bf9643c216cbafee2ed3c41cc7074ad440187deff2c64b AS models
FROM --platform=$BUILDPLATFORM node:22.13.1-bookworm@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd 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.13.1-bookworm@sha256:217e082c8497dd55b5bf9643c216cbafee2ed3c41cc7074ad440187deff2c64b AS user-dictionary
FROM --platform=$BUILDPLATFORM node:22.13.1-bookworm@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd 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 -
Expand Down

0 comments on commit aee7797

Please sign in to comment.