Docker image?
This commit is contained in:
parent
5828353fe9
commit
0f3f94ee93
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 {
|
devShells.default = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
nodejs
|
nodejs
|
||||||
|
|||||||
Reference in New Issue
Block a user