chore: upgrade to node 24 and read app version from workspace root

- base the docker image on node:24-slim and require node >=24 via
  engines in the root package.json
- read app name and version from the workspace root package.json for
  config, swagger, startup log and mcp server info; drop the server
  workspace version
- bind test http servers to 127.0.0.1 so tests pass in containers
  without ipv6 loopback
- bump version to 1.19.1
This commit is contained in:
Andrii Arsenin committed 2026-09-30 20:57:33 +03:00
1 parent d1e16f0386
commit 2afa07902e
13 files changed
+105 -20

No files matched your search

+3 -3
View File
@@ -2,7 +2,7 @@
# scheduler) also serves the built client, so one container is enough.
# ── Client build ──────────────────────────────────────────────────────────────
FROM node:22-slim AS client-build
FROM node:24-slim AS client-build
WORKDIR /app
@@ -15,7 +15,7 @@ COPY client ./client
RUN npm run -w client build
# ── Server build ──────────────────────────────────────────────────────────────
FROM node:22-slim AS server-build
FROM node:24-slim AS server-build
WORKDIR /app
@@ -29,7 +29,7 @@ COPY server/src ./server/src
RUN npm run -w server build
# ── Runtime ───────────────────────────────────────────────────────────────────
FROM node:22-slim AS runtime
FROM node:24-slim AS runtime
# Shared libraries chrome-headless-shell links against (from `ldd`), plus
# fontconfig and basic fonts for text rendering. Playwright's `--with-deps`