blob: 69cfdd4c1692173bffd0fa2676e37d8623d740a9 (
plain) (
tree)
|
|
with import <nixpkgs> {};
let
gemma = import ./default.nix;
entrypoint = writeScript "entrypoint.sh" ''
#!${stdenv.shell}
set -e
exec ${gemma}/bin/gemma
'';
in dockerTools.buildImage {
name = "gemma";
contents = gemma; # [ gemma ];
config = {
Entrypoint = [ entrypoint ];
WorkingDir = "/data";
Volumes = {
"/data" = {};
};
};
}
|