大幅调整的一个版本,待测试
parent
66fceb03de
commit
f3eeaa2f27
|
|
@ -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 . .
|
||||
|
|
|
|||
Loading…
Reference in New Issue