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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
299 B
Nix
Raw 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
];
};
}