From c2b9c76ce78b3cdfeaf18f85b50ed368a7f7c8fc Mon Sep 17 00:00:00 2001 From: nilsjohan Date: Sun, 3 May 2026 21:47:55 +0200 Subject: [PATCH] chore: pin Node 24.15.0 in Docker and CI --- .github/workflows/test.yml | 2 +- backend/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 396b704a..1d225d11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [24.x] + node-version: [24.15.0] steps: - name: Checkout code diff --git a/backend/Dockerfile b/backend/Dockerfile index e1007dc7..e54117a0 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ # Byggas från backend-mappen: docker build -t recipe-api:local . # Stage 1: Bygg applikationen -FROM node:22-alpine AS builder +FROM node:24.15.0-alpine AS builder WORKDIR /app # Kopiera backend-filer @@ -19,7 +19,7 @@ RUN npm test RUN npm run build # Stage 2: Kör applikationen -FROM node:22-alpine AS runner +FROM node:24.15.0-alpine AS runner WORKDIR /app ENV NODE_ENV=production