修改 Dockerfile,解决构建时错误

This commit is contained in:
2025-04-21 13:59:49 +08:00
parent 97b14a5455
commit e905e88d1d
6 changed files with 39 additions and 46 deletions

View File

@@ -1,18 +1,7 @@
import type { NextConfig } from "next"
const nextConfig: NextConfig = {
poweredByHeader: false,
reactStrictMode: true,
swcMinify: true,
output: "standalone",
images: {
minimumCacheTTL: 60,
formats: ["image/webp"],
},
experimental: {
optimizeCss: true,
serverComponentsExternalPackages: [],
},
}
export default nextConfig