diff --git a/frontend/Dockerfile b/frontend/Dockerfile index ecb6a02..170ef69 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,11 +1,11 @@ # Dependencies stage: install node modules from the lockfile. -FROM node:22-alpine AS deps +FROM node:26-alpine AS deps WORKDIR /app COPY package.json package-lock.json ./ RUN npm i # Build stage: produce the standalone Next.js output. -FROM node:22-alpine AS build +FROM node:26-alpine AS build WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . @@ -20,7 +20,7 @@ ENV NEXT_TELEMETRY_DISABLED=1 RUN npm run build # Runtime stage: minimal image running the standalone server. -FROM node:22-alpine AS runtime +FROM node:26-alpine AS runtime WORKDIR /app ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1