nixcfg/cluster/prod/app/cryptpad/build/docker.nix

12 lines
240 B
Nix
Raw Normal View History

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