#Access the default docker file railway uses for deployment

11 messages · Page 1 of 1 (latest)

dapper sinew
#

Is there a way to access to Dockerfile railway uses when running railway up for a nodejs/expressjs api. I would like to use the default file but make some mods

unique niche
#

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

dapper sinew
#

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

broken pollen
dapper sinew
#

generating a thumbnail

unique niche
#

For example NICKPACKS_APT_PKG=ffmpeg

broken pollen
#

(set NIXPACKS_PKGS=ffmpeg under variables)

dapper sinew
#

thanks again @unique niche doing my best to understand all this. Would that be an .env var?