Files
WPanda/Dev/n8n/n8n - alt/Dockerfile
2025-12-23 12:59:36 +01:00

18 lines
451 B
Docker

# Use the official n8n image as a base
FROM n8nio/n8n:latest
# Switch to the root user to install packages
USER root
# Install docker-cli using the apk package manager
RUN apk add --no-cache docker-cli
# Install Python, pip, and required build dependencies
RUN apk add --no-cache python3 py3-pip build-base
# Install required Python packages
RUN pip install netmiko --break-system-packages
# Switch back to the non-privileged node user
USER node