I’m running n8n on Railway using the official Docker image (n8nio/n8n).
In my workflow, I use the Shell Command node to run a command that depends on curl (to download a video and extract frames using ffmpeg).
However, I keep getting:
bash
Copy
Edit
/bin/sh: curl: not found
I tried adding NIXPACKS_PKGS=curl, but I now realize that doesn’t work with Docker images — only Nixpacks builds.
I understand I can create a new project with a custom Dockerfile that installs curl, but I’d love to know:
Is there a way to add curl to my existing n8n Railway deployment?
If not, is forking the Docker image and deploying it as a new service the only clean solution?(also how to do it)
Any tips to avoid disconnecting it from my existing workflows?
I don’t mind starting from a new database, just want to avoid unnecessary complexity if there's a better path.
Thanks a lot in advance! 🙏