Dockerfile erstellt und Referenz in compose erzeugt
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user