diff options
| author | Xe Iaso <me@christine.website> | 2022-09-13 12:57:50 +0000 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-09-13 12:57:50 +0000 |
| commit | fc5dfe5c08a8ef8f64c92c477b934656954f35a8 (patch) | |
| tree | 69b76e4e08eeb939a1bf162aee08e67eccbebbf5 /flake.nix | |
| parent | 979bcb2433e184344896cef5bf054e41c63dec0a (diff) | |
| download | xesite-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.nix | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 { |
