Nixpacks build with no docker

Hello, is it possible to use nixpacks, just to generate the dockerfile, and don't run the build command?
14 Replies
Percy
Percy2y ago
Project ID: N/A
António Duarte
António DuarteOP2y ago
N/A
Adam
Adam2y ago
You can set a custom build command in a nixpacks.toml or in your service environment variables or use nixpacks to generate a dockerfile locally then upload it as your main dockerfile
António Duarte
António DuarteOP2y ago
So it's possible to use it a remote buildkit?
Adam
Adam2y ago
yes
António Duarte
António DuarteOP2y ago
How can i disable the build command?
Brody
Brody2y ago
send me your current railway.json file please
António Duarte
António DuarteOP2y ago
I don't have one Im using nixpacks from the cli
Brody
Brody2y ago
[phases.build]
cmds = []
[phases.build]
cmds = []
use that nixpacks.toml file
António Duarte
António DuarteOP2y ago
Is it possible via CLI?
António Duarte
António DuarteOP2y ago
I replaced the build command and continues to use docker build I want to use buildctl
Brody
Brody2y ago
--out <dir>, -o | Save output directory instead of building it with Docker
António Duarte
António DuarteOP2y ago
Thanks
Want results from more Discord servers?
Add your server