Describe the problem/error/question
What I am trying to do is to use whisper in n8n to transcribe video, and it turns out i need to built customized image to include several packages. yet I got this error when I try to built it and I have attached my docker and runner file below
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
Hi @carmen_chen
Both files should not be the same. So my best guess is they are wrong.
Are you able to run a simple python code node in the first place?
You may want to refer to below thread
I would not reomend doing this without knowing what you are doing,
To add Whisper and Python to your n8n Docker setup:
Create a custom Dockerfile:
FROM n8nio/n8n:latest
USER root
RUN apk add --no-cache python3 py3-pip
RUN pip3 install openai-whisper
USER node
Build and run your custom image:
docker build -t custom-n8n .
docker run -it --rm --name n8n -p 5678:5678 custom-n8n
Use the Python3 node in n8n to run Whisper:
import whisper
model = whisper.load_model("base")
result = model.tra…
thank you for your help, I will take a look at the thread, and yes , i am able to run simple python code in my n8n
i change it to FROM n8nio/n8n:1.119.2 noting else it worked