mc-ingress/docker.nix

9 lines
180 B
Nix

{ dockerTools, my-crate }:
dockerTools.buildLayeredImage {
name = my-crate.pname;
tag = "latest";
contents = [ my-crate ];
config.Cmd = [ ("/bin/" + my-crate.pname) ];
}