From 0a4ffc41e6758fc91fcbc6d6723c0ba3e23ab455 Mon Sep 17 00:00:00 2001 From: valentinbvro Date: Tue, 21 Jul 2026 12:07:06 +0200 Subject: [PATCH] fix: scope tsconfig to src/ so nest build emits dist/main.js Without an include filter, tsc pulled in drizzle.config.ts from the repo root too, which widened the inferred rootDir and nested output under dist/src/main.js instead of dist/main.js -- crashing the container (Cannot find module '/app/dist/main') since the Dockerfile CMD expects the standard Nest layout. --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 1a766ad..c35083e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,5 +16,6 @@ "strictNullChecks": true, "noImplicitAny": true, "esModuleInterop": true - } + }, + "include": ["src/**/*.ts"] }