10 months ago
Hey Railway team! 👋
I’m using the official n8nio/n8n Docker image on Railway and need to use curl in a Shell Command node within n8n.
I tried setting the NIXPACKS_PKGS=curl environment variable, but it seems to have no effect — I believe that’s because this project is using a prebuilt Docker image and not Nixpacks.
Is there any way I can install or use curl in my existing Railway project, or do I need to create a custom Docker image and redeploy n8n through GitHub?
I’d really appreciate any guidance on the best way to handle this within Railway. Thanks a lot in advance! 🙏
32 Replies
10 months ago
If you are using a Dockerfile ,depending on the base image you're using you may wanna do a apt-get update && apt-get install curl
10 months ago
Aren't you using a Dockerfile?
10 months ago
Could u paste your Dockerfile here?
10 months ago
Before that, explain to me what that "Dockerfile" service is supposed to be doing
10 months ago
How so? does it has any env vars set? It is a github repo, inside it you should have a Dockerfile
10 months ago
Here you are deploying the template, looks good so far
10 months ago
Oh now I get it
10 months ago
U would need to create your own Dockerfile and replace the main service with it (which is what you're trying to do)
10 months ago
I still need to see what your custom Dockerfile looks like
is there a guide i can read that can help me, i have been searching hours ago
10 months ago
yes.
10 months ago
This isn't directly related to Railway so it would be better asked in n8n
10 months ago
maybe someone already had this issue of yours
10 months ago
I will mark this thread as solved, feel free to open a new one if you find any issue!
10 months ago
!s
Status changed to Solved medim • 10 months ago


