@ -28,9 +28,7 @@ ENV PORT 3000
COPY --from=builder /app/package.json .
COPY --from=builder /app/pnpm-lock.yaml .
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
COPY --from=builder /app/next.config.js ./ # 如果有
COPY --from=builder /app/next ./next
# 3. 如果是自定义服务器需要复制
# COPY --from=builder /app/server ./server