大幅调整的一个版本,待测试
parent
66fceb03de
commit
f3eeaa2f27
|
|
@ -11,8 +11,8 @@ RUN npm config set registry https://registry.npmmirror.com
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies with legacy peer deps to handle React 19 compatibility
|
||||||
RUN npm install
|
RUN npm install --legacy-peer-deps
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue