From 19b32ae2db9dfa4d8d8b10a93dcb315ad44c8cc0 Mon Sep 17 00:00:00 2001 From: sven Date: Fri, 26 Dec 2025 16:11:58 +0100 Subject: [PATCH] Dockerfile erstellt und Referenz in compose erzeugt --- n8nv2/Dockerfile | 14 ++++++++++++++ n8nv2/compose.yaml | 1 + 2 files changed, 15 insertions(+) create mode 100644 n8nv2/Dockerfile diff --git a/n8nv2/Dockerfile b/n8nv2/Dockerfile new file mode 100644 index 0000000..f685c8f --- /dev/null +++ b/n8nv2/Dockerfile @@ -0,0 +1,14 @@ +# Offizielles n8n-Image als Basis +FROM n8nio/n8n:latest + +# Wechsel zu root, um Systempakete zu installieren +USER root + +# Python 3 und pip installieren (Alpine-Syntax) +RUN apk add --no-cache python3 py3-pip + +# Optional: Häufig genutzte Pakete installieren +RUN pip3 install --no-cache-dir requests pandas numpy beautifulsoup4 + +# Zurück zum sicheren node-User wechseln +USER node diff --git a/n8nv2/compose.yaml b/n8nv2/compose.yaml index 43f6869..f6291ea 100755 --- a/n8nv2/compose.yaml +++ b/n8nv2/compose.yaml @@ -1,6 +1,7 @@ services: n8n: image: n8nio/n8n:latest +# build: . restart: unless-stopped container_name: n8nv2 deploy: