aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cryptpad/build/docker.nix
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/app/cryptpad/build/docker.nix')
-rw-r--r--cluster/prod/app/cryptpad/build/docker.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/cluster/prod/app/cryptpad/build/docker.nix b/cluster/prod/app/cryptpad/build/docker.nix
new file mode 100644
index 0000000..168963d
--- /dev/null
+++ b/cluster/prod/app/cryptpad/build/docker.nix
@@ -0,0 +1,11 @@
+let
+ common = import ./common.nix;
+ pkgs = import common.pkgsSrc {};
+ app = import ./default.nix;
+in
+ pkgs.dockerTools.buildLayeredImage {
+ name = "superboum/cryptpad";
+ config = {
+ Cmd = [ "${app}/bin/cryptpad" ];
+ };
+ }