Skip to content

Commit

Permalink
fixed legacy-peer-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Marcotte committed Feb 5, 2024
1 parent 65fcef5 commit 1d2f56c
Show file tree
Hide file tree
Showing 4 changed files with 560 additions and 402 deletions.
4 changes: 2 additions & 2 deletions components/centraldashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ RUN BUILDARCH="$(dpkg --print-architecture)" && npm rebuild && \
export CFLAGS=-Wno-error && \
export CXXFLAGS=-Wno-error; \
fi && \
npm install --legacy-peer-deps && \
npm install && \
npm run build && \
npm prune --production --legacy-peer-deps
npm prune --production

# Step 2: Packages assets for serving
FROM node:16.20.2-alpine AS serve
Expand Down
2 changes: 1 addition & 1 deletion components/centraldashboard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ clean:

# Builds the package locally
build-local:
npm i --legacy-peer-deps
npm i

# Runs unit tests with coverage
test: build-local
Expand Down
Loading

0 comments on commit 1d2f56c

Please sign in to comment.