fix(todo-web): remove silent npm install failure in Dockerfile

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 <noreply@anthropic.com>
This commit is contained in:
Wuesteon 2025-12-08 18:58:31 +01:00
parent aa8cbb1662
commit 17c4932fc5

View file

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