depot/third_party/tvl/users/grfn/xanthous/server/docker.nix
Default email a291c8690a Project import generated by Copybara.
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
2022-05-19 16:39:52 +02:00

21 lines
437 B
Nix

{ depot ? import ../../../.. { }
, pkgs ? depot.third_party.nixpkgs
, ...
}:
let
inherit (depot.users.grfn) xanthous;
xanthous-server = xanthous.server;
in
pkgs.dockerTools.buildLayeredImage {
name = "xanthous-server";
tag = "latest";
contents = [ xanthous xanthous-server ];
config = {
Cmd = [
"${xanthous-server}/bin/xanthous-server"
"--xanthous-binary-path"
"${xanthous}/bin/xanthous"
];
};
}