diff --git a/server/Dockerfile b/server/Dockerfile index 00252fd7..919fac61 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,6 +1,6 @@ # Production image. # Has to be run with the parent folder as context for the builder to access frontend files. -FROM node:24.17 AS build +FROM node:26.4 AS build # Build backend. WORKDIR /usr/src/app @@ -20,7 +20,7 @@ RUN --mount=type=secret,id=mui_x_license \ VITE_MUI_X_LICENSE=$(cat /run/secrets/mui_x_license) npm run build # Final build stage to pick only actually needed files into the image. -FROM node:24.17-alpine +FROM node:26.4-alpine USER node diff --git a/server/Dockerfile.dev b/server/Dockerfile.dev index 9f556bb8..cba08547 100644 --- a/server/Dockerfile.dev +++ b/server/Dockerfile.dev @@ -1,5 +1,5 @@ # Backend image for development and test environments, complete with all the tooling, etc. -FROM node:24.17 AS dev +FROM node:26.4 AS dev # Install dependencies. WORKDIR /usr/src/app @@ -12,7 +12,7 @@ COPY . . CMD ["npx", "nest", "start", "--watch", "--preserveWatchOutput"] # This stage is for reducing image size in CI which makes artifact upload faster. -FROM node:24.17-alpine +FROM node:26.4-alpine WORKDIR /usr/src/app COPY --from=dev /usr/src/app .