From bce7b3a551bb64dbb3037a82737afb89e0a900fb Mon Sep 17 00:00:00 2001 From: jochens Date: Fri, 2 Oct 2026 15:08:01 +0200 Subject: [PATCH] lab: compile from the module's root, so the runtime finds its tools Both sources sit in tools/, so tsc took tools/ as the root and wrote dist/index.js, while the runtime loads dist/tools/index.js: the module started and served nothing. --- modules/lab/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lab/Dockerfile b/modules/lab/Dockerfile index beb7c8f..105e1a1 100644 --- a/modules/lab/Dockerfile +++ b/modules/lab/Dockerfile @@ -10,7 +10,7 @@ ARG RUNTIME_BASE FROM ${BUILD_BASE} AS build WORKDIR /app/modules/lab COPY . . -RUN node /app/node_modules/typescript/bin/tsc tools/index.ts tools/runs.ts \ +RUN node /app/node_modules/typescript/bin/tsc tools/index.ts tools/runs.ts --rootDir . \ --module NodeNext --moduleResolution NodeNext --target ES2022 --outDir dist FROM ${RUNTIME_BASE}