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
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
So it's possible to use it a remote buildkit?
Adam
Adam2y ago
yes
António Duarte
How can i disable the build command?
Brody
Brody2y ago
send me your current railway.json file please
António Duarte
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
Is it possible via CLI?
António Duarte
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
Thanks
Want results from more Discord servers?
Add your server