tvl-depot/corp/rih/backend/default.nix

17 lines
299 B
Nix
Raw Permalink Normal View History

{ depot, pkgs, ... }:
depot.nix.readTree.drvTargets rec {
binary = depot.third_party.naersk.buildPackage {
src = ./.;
};
image = pkgs.dockerTools.buildLayeredImage {
name = "rih-backend";
config.Cmd = [ "${binary}/bin/rih-backend" ];
contents = [
binary
];
};
}