25 days 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! ๐
0 Replies
25 days 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
25 days ago
Aren't you using a Dockerfile?
25 days ago
Could u paste your Dockerfile here?
25 days ago
Before that, explain to me what that "Dockerfile" service is supposed to be doing
25 days ago
How so? does it has any env vars set? It is a github repo, inside it you should have a Dockerfile
25 days ago
Here you are deploying the template, looks good so far
25 days ago
Oh now I get it
25 days ago
U would need to create your own Dockerfile and replace the main service with it (which is what you're trying to do)
25 days 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
25 days ago
yes.
25 days ago
This isn't directly related to Railway so it would be better asked in n8n
25 days ago
maybe someone already had this issue of yours
25 days ago
I will mark this thread as solved, feel free to open a new one if you find any issue!
25 days ago
!s
Status changed to Solved medim โข 25 days ago