fix stale repo issue affecting scheduled jobs
Some checks failed
Build and push nixos-based docker container / build (push) Has been cancelled
Some checks failed
Build and push nixos-based docker container / build (push) Has been cancelled
This commit is contained in:
parent
2d0228de00
commit
aa3999b352
20
docker.nix
20
docker.nix
|
@ -1,6 +1,20 @@
|
|||
{ config, pkgs, ...}:
|
||||
|
||||
pkgs.dockerTools.streamLayeredImage {
|
||||
name = "node-red";
|
||||
config.Cmd = [ "${pkgs.nodePackages.node-red}/bin/node-red" ];
|
||||
let
|
||||
name = "node-red";
|
||||
entrypoint = pkgs.writeShellApplication {
|
||||
inherit name;
|
||||
|
||||
runtimeInputs = with pkgs; with nodePackages; [
|
||||
node-red
|
||||
ungoogled-chromium
|
||||
];
|
||||
|
||||
text = ''
|
||||
node-red
|
||||
'';
|
||||
};
|
||||
in pkgs.dockerTools.streamLayeredImage {
|
||||
inherit name;
|
||||
config.Cmd = [ "${entrypoint}/bin/entrypoint" ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user