This commit is contained in:
parent
4ec323c08c
commit
e29c31b2e2
|
|
@ -42,8 +42,7 @@
|
||||||
COPY --from=builder /app/.next ./.next
|
COPY --from=builder /app/.next ./.next
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
COPY --from=builder /app/next.config.js ./next.config.js
|
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/*
|
RUN rm -rf /root/.npm /root/.pnpm-store /tmp/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue