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