This commit is contained in:
parent
662413f027
commit
0bca362da8
|
|
@ -28,8 +28,8 @@ RUN npm install -g npm@10.8.2 \
|
|||
WORKDIR /app
|
||||
|
||||
# 拷贝依赖声明并安装仅生产依赖
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --omit=dev
|
||||
# COPY package.json package-lock.json ./
|
||||
# RUN npm ci --omit=dev
|
||||
|
||||
# 拷贝构建产物和依赖
|
||||
COPY --from=builder /app/.next ./.next
|
||||
|
|
|
|||
Loading…
Reference in New Issue