From ef44c065f92b4ad9f9bace6a7b18525cd07ac5fe Mon Sep 17 00:00:00 2001 From: Wuesteon Date: Mon, 8 Dec 2025 18:59:08 +0100 Subject: [PATCH] fix(web): remove silent npm install failures in all web Dockerfiles 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 dependencies to be missing at runtime. Affected: clock, manacore, chat, calendar web apps. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/calendar/apps/web/Dockerfile | 2 +- apps/chat/apps/web/Dockerfile | 2 +- apps/clock/apps/web/Dockerfile | 2 +- apps/manacore/apps/web/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/calendar/apps/web/Dockerfile b/apps/calendar/apps/web/Dockerfile index 94132a760..29581cae3 100644 --- a/apps/calendar/apps/web/Dockerfile +++ b/apps/calendar/apps/web/Dockerfile @@ -62,7 +62,7 @@ COPY --from=builder /app/apps/calendar/apps/web/build ./build COPY --from=builder /app/apps/calendar/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 5186 diff --git a/apps/chat/apps/web/Dockerfile b/apps/chat/apps/web/Dockerfile index cd19de658..b722cb801 100644 --- a/apps/chat/apps/web/Dockerfile +++ b/apps/chat/apps/web/Dockerfile @@ -62,7 +62,7 @@ COPY --from=builder /app/apps/chat/apps/web/build ./build COPY --from=builder /app/apps/chat/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 3000 diff --git a/apps/clock/apps/web/Dockerfile b/apps/clock/apps/web/Dockerfile index 10e51fa63..c3782396a 100644 --- a/apps/clock/apps/web/Dockerfile +++ b/apps/clock/apps/web/Dockerfile @@ -62,7 +62,7 @@ COPY --from=builder /app/apps/clock/apps/web/build ./build COPY --from=builder /app/apps/clock/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 5187 diff --git a/apps/manacore/apps/web/Dockerfile b/apps/manacore/apps/web/Dockerfile index 187511bc5..44b494c1b 100644 --- a/apps/manacore/apps/web/Dockerfile +++ b/apps/manacore/apps/web/Dockerfile @@ -63,7 +63,7 @@ COPY --from=builder /app/apps/manacore/apps/web/build ./build COPY --from=builder /app/apps/manacore/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 5173