blob: 802479e509ce153d570d19ebddec79d7e535b390 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ 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
];
};
}
|