Private AWS CodeArtifact Package

Hello, I am using railway to deploy a simple next.js webapp - however there is a private npm package we are using - this means i have to use AWS cli to fetch a token to then download a package, is this something that can be achieved with the railway.toml file?
3 Replies
Percy
Percy12mo ago
Project ID: N/A
Bruce Wang
Bruce WangOP12mo ago
I see that I can also run a custom dockerfile - do you have the default dockerfile available?
Brody
Brody12mo ago
there is no such thing as a default dockerfile, but there would be plenty of great examples online. you can also achieve this with nixpacks by adding new phases that depend on one another so they run in the correct order https://nixpacks.com/docs/guides/configuring-builds
Want results from more Discord servers?
Add your server