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/*