From f2fc9766374d07bfcf4ee982da411ab4c3352d59 Mon Sep 17 00:00:00 2001 From: mawkone Date: Fri, 27 Feb 2026 19:30:40 -0800 Subject: [PATCH] fix: force NODE_ENV=development during npm ci so tsc is installed Made-with: Cursor --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 178a92e..cb71442 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app -# Install all deps (including devDeps for tsc) +# Install all deps including devDeps (tsc needs them). +# Override NODE_ENV so Coolify's build-time NODE_ENV=production doesn't skip devDeps. COPY package*.json ./ -RUN npm ci +RUN NODE_ENV=development npm ci # Copy source and compile COPY tsconfig.json ./