tvl-depot/users/aspen/xanthous/server/docker.nix

22 lines
438 B
Nix
Raw Normal View History

{ depot ? import ../../../.. { }
, pkgs ? depot.third_party.nixpkgs
, ...
}:
let
inherit (depot.users.aspen) 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"
];
};
}