From 17c4932fc55c45dc6b5d4815dbe95cda9e766e90 Mon Sep 17 00:00:00 2001 From: Wuesteon Date: Mon, 8 Dec 2025 18:58:31 +0100 Subject: [PATCH] fix(todo-web): remove silent npm install failure in Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The production stage was silently ignoring npm install failures with `|| true`, causing date-fns and other dependencies to be missing at runtime. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/todo/apps/web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/todo/apps/web/Dockerfile b/apps/todo/apps/web/Dockerfile index 740d41725..c041715e2 100644 --- a/apps/todo/apps/web/Dockerfile +++ b/apps/todo/apps/web/Dockerfile @@ -62,7 +62,7 @@ COPY --from=builder /app/apps/todo/apps/web/build ./build COPY --from=builder /app/apps/todo/apps/web/package.json ./ # Install only production dependencies for the built app -RUN npm install --omit=dev 2>/dev/null || true +RUN npm install --omit=dev # Expose port EXPOSE 5188