Skip to content

Commit

Permalink
Add Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Samasaur1 committed Jan 7, 2024
1 parent 86e0caa commit 2e08af2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed
(system: gen nixpkgs.legacyPackages.${system});
in {
packages = forAllSystems (pkgs: { default = pkgs.callPackage ./. { }; });
packages = forAllSystems (pkgs: rec {
remote-text-server = pkgs.callPackage ./. { };
default = remote-text-server;
dockerImage = pkgs.dockerTools.buildImage {
name = "remote-text-server";
config = {
Cmd = [ "${remote-text-server}/bin/remote-text-server" ];
};
};
});
};
}

0 comments on commit 2e08af2

Please sign in to comment.