Docker image?

This commit is contained in:
Rory& 2025-09-29 01:22:36 +02:00
parent 5828353fe9
commit 0f3f94ee93

View File

@ -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