diff --git a/server/Dockerfile b/server/Dockerfile index 6ef54210..b66dbe96 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:22.21 AS build +FROM node:26.3.1 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:22.21-alpine +FROM node:26.3.1-alpine USER node diff --git a/server/Dockerfile.dev b/server/Dockerfile.dev index b3d7cd6a..6345a4ae 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:22.21 AS dev +FROM node:26.3.1 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:22.21-alpine +FROM node:26.3.1-alpine WORKDIR /usr/src/app COPY --from=dev /usr/src/app .