fix: resolve peer dependency conflict in Docker build

Use --legacy-peer-deps for npm ci to handle @types/react v19 vs
@cypress/react18 peer dependency conflict. Also fixed FROM AS casing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hossein 2025-12-27 00:01:13 +03:30
parent bdf5ab0c7c
commit b2823dfb9e
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
FROM node:18-alpine as builder FROM node:18-alpine AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci RUN npm ci --legacy-peer-deps
COPY . . COPY . .