gate1: fix npm peer dependency conflict with --legacy-peer-deps
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ WORKDIR /frontend
|
||||
|
||||
# Copy package files first for layer caching
|
||||
COPY frontend/package.json frontend/package-lock.json ./
|
||||
RUN npm ci || npm install
|
||||
RUN npm ci --legacy-peer-deps || npm install --legacy-peer-deps
|
||||
|
||||
# Copy frontend source and build
|
||||
COPY frontend/ ./
|
||||
|
||||
Reference in New Issue
Block a user