Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ProductivitySuite/ui/docker/Dockerfile.react
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY ./react /usr/app/react
WORKDIR /usr/app/react


RUN ["npm", "install"]
RUN ["npm", "install", "--legacy-peer-deps"]

Copilot AI Oct 29, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using --legacy-peer-deps is a temporary workaround that bypasses npm's stricter peer dependency resolution. Consider updating the package.json dependencies to resolve conflicts properly or documenting why this flag is necessary for long-term maintainability.

Suggested change
RUN ["npm", "install", "--legacy-peer-deps"]
RUN ["npm", "install"]

Copilot uses AI. Check for mistakes.
RUN ["npm", "run", "build"]


Expand Down
Loading