fix: Node imajlarını 22-slim'e yükselt (pnpm 11, Node >=22.13 istiyor)

node:20-slim üzerinde corepack pnpm@11.22.0'ı indirmeye çalışınca
"No such built-in module: node:sqlite" hatasıyla patlıyordu — pnpm 11
Node 22.13+ gerektiriyor. api-daemon ve frontend Dockerfile'larını
node:22-slim'e çektik, engines alanını güncelledik.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 14:51:38 +03:00
co-authored by Claude Sonnet 5
parent 8419fbd963
commit 8ae34c18ef
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ docker-compose.yml
## Ön Koşullar ## Ön Koşullar
- Node.js 20+, pnpm, Python 3.12+, `ffmpeg`, `yt-dlp` (host'ta çalıştırırken) - Node.js 22.13+ (pnpm 11'in gereksinimi), pnpm, Python 3.12+, `ffmpeg`, `yt-dlp` (host'ta çalıştırırken)
- Docker + Docker Compose (container'larla çalıştırırken) - Docker + Docker Compose (container'larla çalıştırırken)
- **OpenAI API key** — Whisper STT için - **OpenAI API key** — Whisper STT için
- **Telegram bot token + chat id** — bildirimler için (`@BotFather`) - **Telegram bot token + chat id** — bildirimler için (`@BotFather`)
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:20-slim FROM node:22-slim
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg python3 python3-pip ca-certificates \ ffmpeg python3 python3-pip ca-certificates \
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:20-slim FROM node:22-slim
RUN corepack enable RUN corepack enable
+1 -1
View File
@@ -4,7 +4,7 @@
"version": "0.1.0", "version": "0.1.0",
"packageManager": "pnpm@11.22.0", "packageManager": "pnpm@11.22.0",
"engines": { "engines": {
"node": ">=20" "node": ">=22.13"
}, },
"scripts": { "scripts": {
"db:generate": "pnpm --filter @streamclipper/db exec prisma generate", "db:generate": "pnpm --filter @streamclipper/db exec prisma generate",