diff --git a/.eslintrc.json b/.eslintrc.json old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index 3e34960..0d0b694 --- a/Dockerfile +++ b/Dockerfile @@ -55,6 +55,7 @@ RUN adduser --system --uid 1001 nextjs # 复制构建的应用和依赖项 COPY --from=builder /app/next.config.js ./ COPY --from=builder /app/.next/standalone ./ +COPY --from=builder /app/start.sh ./ COPY --from=builder /app/.next/static ./.next/static # 设置正确的权限 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/app/api/shorten/route.ts b/app/api/shorten/route.ts old mode 100644 new mode 100755 diff --git a/app/api/url/[shortCode]/route.ts b/app/api/url/[shortCode]/route.ts old mode 100644 new mode 100755 diff --git a/app/favicon.ico b/app/favicon.ico old mode 100644 new mode 100755 diff --git a/app/fonts/GeistMonoVF.woff b/app/fonts/GeistMonoVF.woff old mode 100644 new mode 100755 diff --git a/app/fonts/GeistVF.woff b/app/fonts/GeistVF.woff old mode 100644 new mode 100755 diff --git a/app/globals.css b/app/globals.css old mode 100644 new mode 100755 diff --git a/app/layout.tsx b/app/layout.tsx old mode 100644 new mode 100755 diff --git a/app/page.tsx b/app/page.tsx old mode 100644 new mode 100755 diff --git a/app/s/[shortCode]/page.tsx b/app/s/[shortCode]/page.tsx old mode 100644 new mode 100755 diff --git a/components.json b/components.json old mode 100644 new mode 100755 diff --git a/components/Redirect.tsx b/components/Redirect.tsx old mode 100644 new mode 100755 diff --git a/components/ShortUrlForm.tsx b/components/ShortUrlForm.tsx old mode 100644 new mode 100755 diff --git a/components/ui/card.tsx b/components/ui/card.tsx old mode 100644 new mode 100755 diff --git a/components/ui/progress.tsx b/components/ui/progress.tsx old mode 100644 new mode 100755 diff --git a/components/ui/skeleton.tsx b/components/ui/skeleton.tsx old mode 100644 new mode 100755 diff --git a/lib/db.ts b/lib/db.ts old mode 100644 new mode 100755 diff --git a/lib/env.ts b/lib/env.ts old mode 100644 new mode 100755 diff --git a/lib/utils.ts b/lib/utils.ts old mode 100644 new mode 100755 diff --git a/next.config.js b/next.config.js old mode 100644 new mode 100755 index 0e568a3..7aafd19 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', - experimental: { - serverActions: true, - }, // 启用运行时配置 serverRuntimeConfig: { // 将在服务器端可用 diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/postcss.config.mjs b/postcss.config.mjs old mode 100644 new mode 100755 diff --git a/start.sh b/start.sh old mode 100644 new mode 100755 diff --git a/tailwind.config.ts b/tailwind.config.ts old mode 100644 new mode 100755 diff --git a/tsconfig.json b/tsconfig.json old mode 100644 new mode 100755