about summary refs log blame commit diff
path: root/users/grfn/xanthous/server/docker.nix
blob: e6054a66d28a0f9d468e1b96958526e870963499 (plain) (tree)




















                                                         
{ 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"
    ];
  };
  ci = false;
}