First Custom version

This commit is contained in:
2026-07-19 11:23:19 +02:00
commit a30d97d05c
3 changed files with 30 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM n8nio/runners:latest
LABEL authors="stephane.david"
USER root
RUN cd /opt/runners/task-runner-javascript && pnpm add moment uuid
RUN cd /opt/runners/task-runner-python && uv pip install numpy pandas pikepdf
COPY n8n-task-runners.json /etc/n8n-task-runners.json
USER runner
+4
View File
@@ -0,0 +1,4 @@
docker build .
docker login gitea.sda.zone
docker tag n8n-runners:custom gitea.sda.zone/stephane.david/n8n-runners:custom
docker push gitea.sda.zone/stephane.david/n8n-runners:custom
+19
View File
@@ -0,0 +1,19 @@
{
"task-runners": [
{
"runner-type": "javascript",
"env-overrides": {
"NODE_FUNCTION_ALLOW_BUILTIN": "crypto",
"NODE_FUNCTION_ALLOW_EXTERNAL": "moment,uuid"
}
},
{
"runner-type": "python",
"env-overrides": {
"PYTHONPATH": "/opt/runners/task-runner-python",
"N8N_RUNNERS_STDLIB_ALLOW": "json",
"N8N_RUNNERS_EXTERNAL_ALLOW": "numpy,pandas,pikepdf,io"
}
}
]
}