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 ./