From 1b3f94bd922b5e480d81f1b49cfc374dfa3bb766 Mon Sep 17 00:00:00 2001 From: KaneOne Date: Tue, 27 Jan 2026 16:48:10 +0800 Subject: [PATCH] Add entrypoint environment variable to Docker params --- lib/emulation/docker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/emulation/docker.ts b/lib/emulation/docker.ts index 299e105..a5fa57f 100644 --- a/lib/emulation/docker.ts +++ b/lib/emulation/docker.ts @@ -218,6 +218,7 @@ export async function dockerStart( params.push("-p", `${port}:3000`); params.push("-e", "OPEN_RUNTIMES_ENV=development"); params.push("-e", "OPEN_RUNTIMES_SECRET="); + params.push("-e", `OPEN_RUNTIMES_ENTRYPOINT=${func.entrypoint}`); for (const k of Object.keys(variables)) { params.push("-e", `${k}=${variables[k]}`);