From 0e1016a57c77a02892c07e6903dfbb1c377fab96 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:51:56 +0000 Subject: [PATCH] [docker]: Bump node from 20-slim to 21-slim Bumps node from 20-slim to 21-slim. --- updated-dependencies: - dependency-name: node dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index eac903389..fd843ebeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # - packages.json under "engines" (her leter dependabot npm) # - .ncurc.js (automatiske oppdateringer for node-types) # pt er vi på node 18 fordi ellers plager dekoratoren oss med "body has already been consumed" -FROM node:18-alpine AS dependencies +FROM node:21-alpine AS dependencies WORKDIR /app COPY package.json . @@ -14,7 +14,7 @@ COPY .npmrc.dockerbuild .npmrc RUN --mount=type=secret,id=NODE_AUTH_TOKEN NODE_AUTH_TOKEN=$(cat /run/secrets/NODE_AUTH_TOKEN) \ npm ci --prefer-offline --no-audit -FROM node:18-alpine AS builder +FROM node:21-alpine AS builder ARG DIGISOS_ENV ARG LOGIN_SESSION_API_URL