From a5c267e0b6121fb57b07557a84518665a8c4f53c Mon Sep 17 00:00:00 2001 From: Michael Axelsson Date: Thu, 14 Nov 2024 10:26:44 +0100 Subject: [PATCH] DIGG-473: Update node version to 22 --- Dockerfile | 6 +++--- README.md | 6 +++--- README.swe.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88dbc009..b57e903f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:18-alpine as base +FROM node:22-alpine as base WORKDIR /base COPY package.json yarn.lock .yarnrc.yml ./ COPY .yarn/releases ./.yarn/releases COPY .yarn/plugins ./.yarn/plugins RUN yarn install -FROM node:18-alpine as builder +FROM node:22-alpine as builder WORKDIR /build ARG delete_file COPY . . @@ -13,7 +13,7 @@ COPY --from=base /base ./ RUN if [[ -z "$delete_file" ]] ; then echo "No files removed" ; else rm ./$delete_file ; fi RUN yarn build -FROM node:18-alpine as production +FROM node:22-alpine as production ENV NODE_ENV=production WORKDIR /app diff --git a/README.md b/README.md index c724a8fa..70f7435e 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ EntryScape Registry is a solution for managing a registry of data catalogs and r ## Requirements -![node-current](https://img.shields.io/badge/node-18.18.0-green) -![npm-current](https://img.shields.io/badge/npm-9.8.1-green) -![nextjs-current](https://img.shields.io/badge/nextjs-13.0.2-green) +![node-current](https://img.shields.io/badge/node-22-green) +![npm-current](https://img.shields.io/badge/npm-10-green) +![nextjs-current](https://img.shields.io/badge/nextjs-13-green) ## Development diff --git a/README.swe.md b/README.swe.md index 1b8c7c53..e565b7b0 100644 --- a/README.swe.md +++ b/README.swe.md @@ -2,9 +2,9 @@ # Sveriges dataportal webbklient – [dataportal.se](https://www.dataportal.se) På Sveriges dataportal synliggörs data från en rad olika typer av organisationer och sektorer. Här finns enbart information om datamängder, dvs. metadata. Data hämtas i sin tur via länkar för nedladdning eller efterfrågas hos respektive organisation som ansvarar för sina egna datamängder. ## Versionskrav -![node-current](https://img.shields.io/badge/node-16.13.2-green) -![npm-current](https://img.shields.io/badge/npm-8.1.2-green) -![nextjs-current](https://img.shields.io/badge/nextjs-13.0.2-green) +![node-current](https://img.shields.io/badge/node-22-green) +![npm-current](https://img.shields.io/badge/npm-10-green) +![nextjs-current](https://img.shields.io/badge/nextjs-13-green) ## EntryScape [Entryscape logotype](https://entryscape.com/sv)