nixcfg/app/cryptpad/build/docker.nix

12 lines
240 B
Nix
Raw Normal View History

2022-05-06 09:44:13 +00:00
let
common = import ./common.nix;
pkgs = import common.pkgsSrc {};
2022-05-06 15:34:30 +00:00
app = import ./default.nix;
2022-05-06 09:44:13 +00:00
in
2022-05-10 13:17:55 +00:00
pkgs.dockerTools.buildLayeredImage {
2022-05-06 09:44:13 +00:00
name = "superboum/cryptpad";
config = {
2022-05-06 15:34:30 +00:00
Cmd = [ "${app}/bin/cryptpad" ];
2022-05-06 09:44:13 +00:00
};
}