about summary refs log blame commit diff
path: root/users/aspen/xanthous/server/docker.nix
blob: 5eaef4553be64d7d2b69c417b8fdd354357cdefc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                




                                  
                                       
                                    

                                    





                                              

                                

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