Skip to content

Commit

Permalink
DIGG-473: Update node version to 22
Browse files Browse the repository at this point in the history
  • Loading branch information
MickeA committed Nov 14, 2024
1 parent 689ce2a commit a5c267e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
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 . .
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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions README.swe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
[<img alt="Entryscape logotype" src="https://entryscape.com/wp-content/uploads/2023/01/Entryscape-by-Metasolutions-w385px-Retina-2.png" width="191" height="42">](https://entryscape.com/sv)
Expand Down

0 comments on commit a5c267e

Please sign in to comment.