fix(web): remove silent npm install failures in all web Dockerfiles

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 <noreply@anthropic.com>
This commit is contained in:
Wuesteon 2025-12-08 18:59:08 +01:00
parent 17c4932fc5
commit ef44c065f9
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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