build(docker): use --legacy-peer-deps for frontend npm install in container
This commit is contained in:
parent
7591f001c1
commit
f6cab715e6
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ WORKDIR /app
|
|||
# Install frontend deps and build (root project)
|
||||
COPY package.json ./
|
||||
COPY pnpm-lock.yaml ./
|
||||
RUN npm install --no-audit --no-fund
|
||||
RUN npm install --no-audit --no-fund --legacy-peer-deps
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue