aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-09-13 12:57:50 +0000
committerXe Iaso <me@christine.website>2022-09-13 12:57:50 +0000
commitfc5dfe5c08a8ef8f64c92c477b934656954f35a8 (patch)
tree69b76e4e08eeb939a1bf162aee08e67eccbebbf5 /flake.nix
parent979bcb2433e184344896cef5bf054e41c63dec0a (diff)
downloadxesite-fc5dfe5c08a8ef8f64c92c477b934656954f35a8.tar.xz
xesite-fc5dfe5c08a8ef8f64c92c477b934656954f35a8.zip
update flake metadata, can build a docker image now
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 169e701..6fe3915 100644
--- a/flake.nix
+++ b/flake.nix
@@ -69,6 +69,16 @@
name = "xesite-${bin.version}";
paths = [ config posts static bin ];
};
+
+ docker = pkgs.dockerTools.buildLayeredImage {
+ name = "xena/xesite";
+ tag = bin.version;
+ contents = [ default ];
+ config = {
+ Cmd = [ "${bin}/bin/xesite" ];
+ WorkdingDir = "${default}";
+ };
+ };
};
devShell = pkgs.mkShell {