This commit is contained in:
parent
e29c31b2e2
commit
eaac955e68
|
|
@ -39,10 +39,9 @@
|
||||||
COPY --from=builder /app/package.json ./
|
COPY --from=builder /app/package.json ./
|
||||||
COPY --from=builder /app/pnpm-lock.yaml ./
|
COPY --from=builder /app/pnpm-lock.yaml ./
|
||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
COPY --from=builder /app/.next ./.next
|
COPY --from=builder /app/apps/blogai/.next ./.next
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/apps/blogai/public ./public
|
||||||
COPY --from=builder /app/next.config.js ./next.config.js
|
COPY --from=builder /app/apps/blogai/next.config.js ./next.config.js
|
||||||
|
|
||||||
|
|
||||||
# 清理无用缓存,减小镜像体积
|
# 清理无用缓存,减小镜像体积
|
||||||
RUN rm -rf /root/.npm /root/.pnpm-store /tmp/*
|
RUN rm -rf /root/.npm /root/.pnpm-store /tmp/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue