Dockerfile to Nixpacks
crinklepackage
HOBBYOP

a year ago

I had my original codebase pointing to this project, both the worker and api. We used Docker.

I rewrote my code, and I no longer use docker. I'd like to use this existing project though.

Is there a way to switch the builder from docker to nixpacks? I tried to in the project settings but couldn't find a durable way to do it.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

2 Replies

crinklepackage
HOBBYOP

a year ago

I added nixpacks to a railway.toml file and that seemed to do the trick.


a year ago

Hello,

I cannot recommend overwriting the default install command like that, you are disabling corepack.

And install commands should not be done within the build phase.

Best,

Brody


Welcome!

Sign in to your Railway account to join the conversation.

Loading...