fix: add missing runtime dependencies for Docker image

- Add axios (^1.10.0) for n8n API client
- Add zod (^3.25.32) for workflow validation
- Update runtime package version to 2.6.2
- Update Dockerfile comment to reflect minimal (not zero) dependencies

Fixes Docker runtime error: "Cannot find module 'axios'"
introduced by n8n management tools in v2.6.0

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-06-26 15:01:23 +02:00
parent 481ec71625
commit 928b71f2fe
3 changed files with 37 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.7
# Ultra-optimized Dockerfile - no n8n dependencies needed at runtime
# Ultra-optimized Dockerfile - minimal runtime dependencies (no n8n packages)
# Stage 1: Builder (TypeScript compilation only)
FROM node:20-alpine AS builder