15 lines
378 B
Docker
15 lines
378 B
Docker
# 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
|