#Access the default docker file railway uses for deployment
11 messages · Page 1 of 1 (latest)
Railway uses nixpacks to generate the dockerfile
There's a number of config env vars you can use that are documented on the NIXPACKS docs
hello @unique niche thanks for the reply. I saw that Railway uses nixpacks. However I can't find an example with the actual file so I can modify it. My intention is to add ffmpeg
what do you need ffmpeg for?
Nixpacks generates a dockerfile and uses that to generate the container. You can configure nixpacks via env vars or a config file.
If there's something you want that you think should be included you can make an issue if you want.
Nixpacks is preferable over a dockerfile on railway as it's faster
For example NICKPACKS_APT_PKG=ffmpeg
(set NIXPACKS_PKGS=ffmpeg under variables)
thanks again @unique niche doing my best to understand all this. Would that be an .env var?