From dc6e76e72fd0de8242543530d0485d3f67f99bef Mon Sep 17 00:00:00 2001 From: Matthias Hochmeister Date: Thu, 26 Feb 2026 14:40:47 +0100 Subject: [PATCH] update backend building --- backend/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/Dockerfile b/backend/Dockerfile index a445d48..8af7dc1 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -15,6 +15,9 @@ COPY package*.json ./ # Install all dependencies (including devDependencies for building) RUN npm ci +# Expose local binaries (e.g. tsc) to the shell PATH so npm run build resolves them +ENV PATH="/app/node_modules/.bin:$PATH" + # Copy TypeScript configuration and source code COPY tsconfig.json ./ COPY src ./src