tvl-depot/users/wpcarro/playbooks/nix_gcr/cloud_run.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
275 B
Nix
Raw Normal View History

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