chore: upgrade Docker base images to Node.js 22 LTS Alpine (v2.7.22)

- Updated all Dockerfiles from node:20-alpine to node:22-alpine
- Addresses known vulnerabilities in older Alpine images
- Provides better long-term support with Node.js 22 LTS (until April 2027)
- Updated documentation to reflect new base image version
- Tested and verified compatibility with all dependencies

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-07-28 09:23:23 +02:00
parent eeb73e1779
commit 23d12b4808
10 changed files with 28 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
# Ultra-optimized Dockerfile - minimal runtime dependencies (no n8n packages)
# Stage 1: Builder (TypeScript compilation only)
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
# Copy tsconfig for TypeScript compilation
@@ -22,7 +22,7 @@ COPY src ./src
RUN npx tsc
# Stage 2: Runtime (minimal dependencies)
FROM node:20-alpine AS runtime
FROM node:22-alpine AS runtime
WORKDIR /app
# Install only essential runtime tools