Skip to content

Commit

Permalink
Upgrade Node.js version to 22 in all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 19, 2024
1 parent 301208c commit 42c4134
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 720 deletions.
4 changes: 2 additions & 2 deletions services/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal AS build
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS build

ENV TZ="Europe/Helsinki"

Expand Down Expand Up @@ -28,7 +28,7 @@ RUN npm run build



FROM registry.access.redhat.com/ubi9/nodejs-20-minimal
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal

ENV TZ="Europe/Helsinki"

Expand Down
2 changes: 1 addition & 1 deletion services/backend/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine

ENV TZ="Europe/Helsinki"

Expand Down
10 changes: 5 additions & 5 deletions services/backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/express": "^4.17.21",
"@types/lodash": "^4.17.13",
"@types/morgan": "^1.9.9",
"@types/node": "^20.17.6",
"@types/node": "^22.9.0",
"@types/validator": "^13.12.2",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
Expand Down
2 changes: 1 addition & 1 deletion services/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal

ENV TZ="Europe/Helsinki"

Expand Down
2 changes: 1 addition & 1 deletion services/frontend/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine

ENV TZ="Europe/Helsinki"

Expand Down
2 changes: 1 addition & 1 deletion updater/sis-updater-scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal

WORKDIR /opt/app-root/src

Expand Down
4 changes: 2 additions & 2 deletions updater/sis-updater-scheduler/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine

WORKDIR /opt/app-root/src

Expand All @@ -10,4 +10,4 @@ COPY . .

EXPOSE 8082

CMD ["node_modules/.bin/nodemon", "src/index.js"]
CMD ["node", "--watch", "src/index.js"]
Loading

0 comments on commit 42c4134

Please sign in to comment.