Files
n8n-install/n8n/Dockerfile.runner
2025-12-15 10:06:13 -07:00

14 lines
348 B
Docker

FROM n8nio/runners:stable
USER root
# Install npm packages that can be used in Code nodes
# These must match NODE_FUNCTION_ALLOW_EXTERNAL in n8n-task-runners.json
# Note: n8nio/runners uses pnpm, not npm
RUN pnpm add cheerio axios moment lodash
# Copy task runner configuration
COPY n8n-task-runners.json /etc/n8n-task-runners.json
USER runner