This commit is contained in:
hailin 2025-04-05 19:37:04 +08:00
parent 4ec323c08c
commit e29c31b2e2
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
COPY --from=builder /app/next.config.js ./next.config.js
COPY --from=builder /app/vercel.json ./vercel.json # 如果有
COPY --from=builder /app/locales ./locales # 如果有多语言
# 清理无用缓存,减小镜像体积
RUN rm -rf /root/.npm /root/.pnpm-store /tmp/*