From 5377c5839be53331dfd5ff2eae965126ed7621a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20S=C3=B6derberg?= Date: Thu, 7 May 2026 13:36:49 +0200 Subject: [PATCH] Pinned node version in docker --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index db8cb76..97432dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ # 1. Install dependencies -FROM node:alpine AS deps +FROM node:25-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app COPY package*.json ./ RUN npm ci # 2. Build the app -FROM node:alpine AS builder +FROM node:25-alpine AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . @@ -18,7 +18,7 @@ ENV NEXT_TELEMETRY_DISABLED=1 RUN npm run build # 3. Production image (Slimmad!) -FROM node:alpine AS runner +FROM node:25-alpine AS runner WORKDIR /app ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1