about summary refs log blame commit diff
path: root/blog/deploy.nix
blob: 5add7f7c6ecb6869160d09bcb0826dee9b86fe5f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                         









                                                  
{ pkgs, briefcase, ... }:

pkgs.dockerTools.buildLayeredImage {
  name = "blog";
  tag = "latest";
  config.ExposedPorts = {
    "4242" = {};
  };
  config.Cmd = [ "${briefcase.blog}/bin/server" ];
  maxLayers = 120;
}