Dockerfile to Nixpacks
crinklepackage
HOBBYOP
10 months 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.
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
crinklepackage
HOBBYOP
10 months ago
I added nixpacks to a railway.toml file and that seemed to do the trick.
brody
EMPLOYEE
10 months 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
