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:
@@ -21,7 +21,7 @@ docker-compose.yml
|
||||
|
||||
## Ö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)
|
||||
- **OpenAI API key** — Whisper STT için
|
||||
- **Telegram bot token + chat id** — bildirimler için (`@BotFather`)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:20-slim
|
||||
FROM node:22-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ffmpeg python3 python3-pip ca-certificates \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:20-slim
|
||||
FROM node:22-slim
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"version": "0.1.0",
|
||||
"packageManager": "pnpm@11.22.0",
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
"node": ">=22.13"
|
||||
},
|
||||
"scripts": {
|
||||
"db:generate": "pnpm --filter @streamclipper/db exec prisma generate",
|
||||
|
||||
Reference in New Issue
Block a user