From e29c31b2e26defff7086debc60ed55dc41427cfa Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 5 Apr 2025 19:37:04 +0800 Subject: [PATCH] . --- apps/blogai/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/blogai/Dockerfile b/apps/blogai/Dockerfile index b2e9b27..3ca72a3 100644 --- a/apps/blogai/Dockerfile +++ b/apps/blogai/Dockerfile @@ -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/*