diff --git a/Dockerfile b/Dockerfile index cbb2ed53c..23a6a7bbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG NUSQLITE3_DIR="/usr/local/lib/nusqlite3" ARG NUSQLITE3_PATH="${NUSQLITE3_DIR}/libnusqlite3.so" ### STAGE 0: Build client ### -FROM node:20-alpine AS build-client +FROM node:24-alpine AS build-client WORKDIR /client COPY /client /client @@ -10,7 +10,7 @@ RUN npm ci && npm cache clean --force RUN npm run generate ### STAGE 1: Compile server on the builder CPU (avoid QEMU SIGILL from tsc on arm64) ### -FROM --platform=$BUILDPLATFORM node:20-alpine AS compile-server +FROM --platform=$BUILDPLATFORM node:24-alpine AS compile-server WORKDIR /server COPY index.js package* tsconfig.server.json /server @@ -18,7 +18,7 @@ COPY /server /server/server RUN npm ci --include=dev --ignore-scripts && npm run build:server ### STAGE 2: Install native server deps for the target arch ### -FROM node:20-alpine AS build-server +FROM node:24-alpine AS build-server ARG NUSQLITE3_DIR ARG TARGETPLATFORM @@ -50,7 +50,7 @@ RUN case "$TARGETPLATFORM" in \ RUN npm ci --omit=dev ### STAGE 3: Create minimal runtime image ### -FROM node:20-alpine +FROM node:24-alpine ARG NUSQLITE3_DIR ARG NUSQLITE3_PATH