mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 18:15:41 +00:00
Docker image?
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -93,6 +93,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
containers.docker = pkgs.dockerTools.buildLayeredImage {
|
||||
name = "spacebar-server-ts";
|
||||
tag = "latest";
|
||||
contents = [ self.packages.${system}.default ];
|
||||
config = {
|
||||
Cmd = [ "${self.outputs.packages.x86_64-linux.default}/bin/start-bundle" ];
|
||||
Expose = [ "3001" ];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
nodejs
|
||||
|
||||
Reference in New Issue
Block a user