cryptpad-deuxfleurs.nix/docker.nix
2024-04-16 12:11:50 +02:00

17 lines
294 B
Nix

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