From 6ce68b9a2f4db71ef34510a4cbe7938bd68b6c53 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Tue, 9 Dec 2025 14:05:28 +0100 Subject: [PATCH] fix: Copy tsconfig.json for tsx path mapping resolution --- worker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/worker/Dockerfile b/worker/Dockerfile index 8bc1dab..84bc4cf 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -9,6 +9,9 @@ WORKDIR /usr/src/app COPY package.json package-lock.json ./ RUN npm ci --production --silent && npm install tsx dotenv --silent +# Copy tsconfig for path mapping resolution (@/ alias) +COPY tsconfig.json ./ + # Copy worker code and shared lib COPY worker ./worker COPY lib ./lib