locigenesis/docker.nix

12 lines
298 B
Nix
Raw Normal View History

2021-07-06 17:20:00 +02:00
{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
with pkgs;
let locigenesis = pkgs.callPackage ./default.nix { };
in dockerTools.buildImage {
name = "akasroua/locigenesis";
contents = [ locigenesis ];
config.Entrypoint = [ "${locigenesis}/bin/generation.sh" ];
}