From 8a2a45751e1e7ff5a085e7d3c321c23397c27846 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Fri, 18 Sep 2026 11:09:13 -0700 Subject: [PATCH] Update dockerfile to use node 24 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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