about summary refs log blame commit diff
path: root/users/wpcarro/playbooks/nix_gcr/cloud_run.nix
blob: 3d981611817ba3cdb998fba218d4aae647efd8ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                     

                                    
                 
                 






                                                  

                  
{ pkgs, depot, ... }:

pkgs.dockerTools.buildLayeredImage {
  name = "gemma";
  tag = "latest";
  config.ExposedPorts = {
    "4242" = {};
  };
  config.Env = [
    "GEMMA_CONFIG=${./config.lisp}"
  ];
  config.Cmd = [ "${depot.fun.gemma}/bin/gemma" ];
  maxLayers = 120;
}