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