cryptpad-deuxfleurs.nix/docker.nix

18 lines
294 B
Nix
Raw Normal View History

2024-04-16 10:11:50 +00:00
{ pkgs ? import <nixpkgs> {}
, name ? "cryptpad"
, tag ? "nix-latest"
, withOnlyOffice ? true
, cryptpad ? pkgs.callPackage ./default.nix {
inherit withOnlyOffice;
}
}:
pkgs.dockerTools.buildImage {
inherit name tag;
config = {
Cmd = [
(pkgs.lib.getExe cryptpad)
];
};
}