feat(docker): guide clone installation and validate paired update artifacts

This commit is contained in:
simoleo89
2026-09-13 17:57:14 +02:00
parent a4266f297c
commit 8f55ff2d17
39 changed files with 473 additions and 73 deletions
+4 -1
View File
@@ -27,7 +27,10 @@ export function validateRuntime(settings) {
throw new Error(`Invalid runtime configuration: ${invalid.join(", ")}`);
}
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
if (
process.argv[1] &&
import.meta.url === pathToFileURL(process.argv[1]).href
) {
try {
validateRuntime(process.env);
const child = spawn(process.execPath, ["server.js"], { stdio: "inherit" });