fix: frontend Dockerfile uses --legacy-peer-deps for vite@8 compatibility
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
FROM node:20-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install
|
||||
RUN npm install --legacy-peer-deps
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in New Issue
Block a user