fix: upgrade Node.js to 22.14.0, add svelte-kit sync before build
All checks were successful
Build and Push Backend Image / build (push) Successful in 1m9s
Build and Push Buttplug Image / build (push) Successful in 4m21s
Build and Push Frontend Image / build (push) Successful in 1m15s

- Node 22.11.0 is below Vite's minimum requirement of 22.12+
- svelte-kit sync must run before vite build to generate
  .svelte-kit/tsconfig.json which tsconfig.json extends

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 17:14:51 +01:00
parent 1175b4d0e6
commit 4f85637875
3 changed files with 8 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
# ============================================================================
# Builder stage
# ============================================================================
FROM node:22.11.0-slim AS builder
FROM node:22.14.0-slim AS builder
RUN npm install -g corepack@latest && corepack enable
@@ -34,7 +34,7 @@ RUN pnpm rebuild argon2 sharp
# ============================================================================
# Runner stage
# ============================================================================
FROM node:22.11.0-slim AS runner
FROM node:22.14.0-slim AS runner
RUN apt-get update && apt-get install -y \
dumb-init \