fix: frontend Dockerfile uses --legacy-peer-deps for vite@8 compatibility

This commit is contained in:
Leopoldadmin
2026-07-04 17:21:34 +02:00
parent be62470b53
commit 6c4d62641a
+1 -1
View File
@@ -1,7 +1,7 @@
FROM node:20-alpine AS build FROM node:20-alpine AS build
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
RUN npm install RUN npm install --legacy-peer-deps
COPY . . COPY . .
RUN npm run build RUN npm run build
FROM nginx:alpine FROM nginx:alpine