how to run custom build command
i have a custom command to spin up the docker container, how can I run this intead of the default?
15 Replies
Project ID:
000f393c-a536-44d1-b400-feb6a78de9b9
000f393c-a536-44d1-b400-feb6a78de9b9
this is not supported at the moment
can I run commands from a justfile instead of dockerfile?
you can only specify commands that run during build or after the image is built
you can specify extra commands in a nixpacks.toml file
wait wdym by "during build"
oh
during the build phase
https://nixpacks.com/docs/configuration/file
perfect
this should work
tysm
you can't do a custom "docker run" command though, that's what you where asking right?
wouldn't I did it inside the nixpacks.toml file?
i just tried
and it failed
bcz it's still defaulting to dockerfile
you can't modify the initial docker run command
oh
if you have a dockerfile it will use the dockerfile above all else
ahh
okay
cool
ty
no problem