{ config, pkgs, ...}: 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" ]; }