大幅调整的一个版本,待测试

main
mula.liu 2025-12-04 22:05:35 +08:00
parent 66fceb03de
commit f3eeaa2f27
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ RUN npm config set registry https://registry.npmmirror.com
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Install dependencies with legacy peer deps to handle React 19 compatibility
RUN npm install --legacy-peer-deps
# Copy source code
COPY . .