Dockerfile erstellt und Referenz in compose erzeugt

This commit is contained in:
2025-12-26 16:11:58 +01:00
parent bab43f579d
commit 19b32ae2db
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -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
+1
View File
@@ -1,6 +1,7 @@
services:
n8n:
image: n8nio/n8n:latest
# build: .
restart: unless-stopped
container_name: n8nv2
deploy: