Installing Node Modules on N8N Template

Hey guys, new here, so pardon my ignorance. How do I install node modules when I am using the prebuilt N8N template, through the Dockerfile? If so, is there any documentation that would help me set this up? Just trying to install 'node-fetch' - so nothing fancy. Any help would be greatly appreciated.
4 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy2y ago
⚠️ experimental feature
root
root2y ago
You should be able to add a RUN npm install step (or yarn, or pnpm install) somewhere in your Dockerfile. I'm not familiar with N8N, but if it's a relatively normal Node.js app, then you should be able to run it using Nixpacks, Railway's built-in build system, and not worry about a Dockerfile.
Percy
Percy2y ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server