Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

chore: update node to version 24

Nikolai Giman4705055062ac
diff --git a/.npmrc b/.npmrc
new file mode 100644
index 0000000..4fd0219
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1 @@
+engine-strict=true
\ No newline at end of file
diff --git a/api/dockerfile b/api/dockerfile
index a3c97ec..daa44bd 100644
--- a/api/dockerfile
+++ b/api/dockerfile
@@ -1,8 +1,6 @@
-FROM node:20-bullseye-slim
+FROM node:24.12.0-alpine
-RUN apt-get update && apt-get install -y \
- curl \
- && rm -rf /var/lib/apt/lists/*
+RUN apk add --no-cache curl
RUN npm install pm2 -g
diff --git a/api/package.json b/api/package.json
index 61d9740..3604b4e 100644
--- a/api/package.json
+++ b/api/package.json
@@ -57,5 +57,8 @@
"taskview-db-schemas": "workspace:^",
"terser": "^5.36.0",
"zod": "^3.23.8"
+ },
+ "engines": {
+ "node": ">=24 <25"
}
}
\ No newline at end of file
diff --git a/api/postgresql/dockerfile b/api/postgresql/dockerfile
index fb78d45..a5e0aa1 100644
--- a/api/postgresql/dockerfile
+++ b/api/postgresql/dockerfile
@@ -1,5 +1,5 @@
-FROM node:20-slim
-RUN apt-get update && apt-get install -y postgresql-client && apt-get clean
+FROM node:24.12.0-alpine
+RUN apk add --no-cache postgresql-client
# ENV DB_HOST=localhost
# ENV DB_USER=tvdbuser
diff --git a/web/package.json b/web/package.json
index 4fc744d..6b99011 100644
--- a/web/package.json
+++ b/web/package.json
@@ -91,5 +91,8 @@
"vue-i18n": "11.1.10",
"vue-tsc": "3.0.3",
"vuetify": "3.7.9"
+ },
+ "engines": {
+ "node": ">=24 <25"
}
}
\ No newline at end of file