Optimizing dockerfile

wronco
HOBBY

a year ago

I have a few apps that I've migrated to railway from heroku and overall everything is working great.

I'd like to create Dockerfiles that are specific to my app(s), both in order to keep version compatibility and to optimize build times. Is there a way to start with the Dockerfiles that are generated by the railway build process, or do I need to start from scratch? (Ie. is there a way I can download the Dockerfile generated during the build process? Or create it locally?)

Many thanks

0 Replies

wronco
HOBBY

a year ago

n/a


a year ago

you'd definitely want to start from scratch as the dockerfiles nixpacks makes use nix, and I doubt that's something the average person wants to deal with


wronco
HOBBY

a year ago

Right on, thank you!